MATLAB Answers


Using GUI listbox to display files.

Asked by ZK
on 12 Feb 2013


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.


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',{})

  1 Comment

on 13 Feb 2013

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

Join the 15-year community celebration.

Play games and win prizes!

Learn more
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

MATLAB Academy

New to MATLAB?

Learn MATLAB today!