Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Using GUI listbox to display files.

Asked by ZK on 12 Feb 2013

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 Simon on 12 Feb 2013

It is easier to answer, if you post, what you have tried so far and ask a specific question.

ZK

Products

No products are associated with this question.

1 Answer

Answer by Sean de Wolski on 12 Feb 2013
Accepted answer
d = dir;
uicontrol('Style','ListBox','Units','normalized','Position',[0.1 0.1 0.3 0.5],'string',{d.name})

1 Comment

ZK on 13 Feb 2013

Thank You works, I was searching for answer in wrong direction.

Sean de Wolski

Contact us