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

New to MATLAB?

Using GUI listbox to display files.

Asked by ZK

ZK (view profile)

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

Jan Simon (view profile)

on 12 Feb 2013

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

ZK

ZK (view profile)

Products

No products are associated with this question.

1 Answer

Answer by Sean de Wolski

Sean de Wolski (view profile)

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

ZK (view profile)

on 13 Feb 2013

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

Sean de Wolski

Sean de Wolski (view profile)

Contact us