Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I display a file or directory browser dialog using MATLAB

I have created a blank GUI and now I want to program a push button to display a file or directory browser dialog.

like image 946
Achraf Avatar asked May 27 '10 19:05

Achraf


Video Answer


1 Answers

Your question could use a little more detail, but here's a general suggestion to get you started...

You could set the callback for your push button so that it invokes one of the built-in dialog boxes available in MATLAB. You may be most interested in UIGETDIR or UIGETFILE to browse for and select a directory or file, respectively.

like image 59
gnovice Avatar answered Nov 04 '22 00:11

gnovice