How do I prevent minimizing Matlab windows after calling uigetdir?
30 次查看(过去 30 天)
显示 更早的评论
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 个评论
Michal Dobai
2017-12-9
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.
采纳的回答
Prasobhkumar P. P.
2020-9-7
编辑:Prasobhkumar P. P.
2020-9-7
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 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Dialog Boxes 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!