Filter löschen
Filter löschen

Using GUI listbox to display files.

2 Ansichten (letzte 30 Tage)
ZK
ZK am 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 Kommentar
Jan
Jan am 12 Feb. 2013
It is easier to answer, if you post, what you have tried so far and ask a specific question.

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

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

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Interactive Control and Callbacks finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by