problem with a gui of directories
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Jules Ray
am 3 Nov. 2011
Bearbeitet: Jules Ray
am 27 Mai 2019
Hi colleages, i`m preparing a gui for directories selection and other things. This is my proyect:
% Inputs section
clear
close all
stationsdir= uigetdir('/Users/mac/Documents/MATLAB/','Station Folder');
resultdir=uigetdir('/Users/mac/Documents/MATLAB/','Station Folder');
pathtool
station='test4';
the gui works, but really bad beacuse all navigation windows start to open at the same time...
i would like to include al navigation windows in just one main window with buttons to select the directories... or something like this... and also a small box to define the station name (station='test4')
uff... is a lot of work but every comment will be appreciated..
2 Kommentare
Image Analyst
am 3 Nov. 2011
Not sure what your problem is, but when I run the code, each dialog box comes up one at a time, after I closed the prior one. They don't all "open at the same time."
Akzeptierte Antwort
Image Analyst
am 4 Nov. 2011
Well that's different. msgbox just blasts through not waiting, unlike uigetdir and other such functions. That's why I've defined msgboxw() in an m-file in my utilities directory that is on my path:
function msgboxw(string)
uiwait(msgbox(string));
Then I just call msgboxw() all the time instead of mgsbox().
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Startup and Shutdown finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!