How do I prevent minimizing Matlab windows after calling uigetdir?
22 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Daniel Lee
am 6 Dez. 2017
Kommentiert: Clark
am 27 Mai 2024
Just to clarify, this part of my code works. However, when I run the mlapp and use the function that uses uigetdir, after I select the folder, all Matlab windows minimize. Is there a solution?
Thank you for your help.
1 Kommentar
Michal Dobai
am 9 Dez. 2017
I'm struggling with the same thing in my app. Right now I'm using Chris McRaven's workaround from above mentioned link; set visibility of figure to 'off' and then 'on' again. It's not the best solution, because window will still blink for a brief moment, but it's still better than nothing.
Akzeptierte Antwort
Prasobhkumar P. P.
am 7 Sep. 2020
Bearbeitet: Prasobhkumar P. P.
am 7 Sep. 2020
Even thought this is not the correct solution. But it will work.
[file, path]= uigetfile('*.*');
fN = fullfile(path,file);
figure(app.UIFigure); % magic command :)
1 Kommentar
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Dialog Boxes 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!