Clear Filters
Clear Filters

Using GUI listbox to display files.

1 view (last 30 days)
Hello.
Can You show me, how to use GUI listbox to display files from folder and to select few of them to use them?
Thank You.
  1 Comment
Jan
Jan on 12 Feb 2013
It is easier to answer, if you post, what you have tried so far and ask a specific question.

Sign in to comment.

Accepted Answer

Sean de Wolski
Sean de Wolski on 12 Feb 2013
d = dir;
uicontrol('Style','ListBox','Units','normalized','Position',[0.1 0.1 0.3 0.5],'string',{d.name})
  1 Comment
ZK
ZK on 13 Feb 2013
Thank You works, I was searching for answer in wrong direction.

Sign in to comment.

More Answers (0)

Categories

Find more on Interactive Control and Callbacks in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!