How do I prevent minimizing Matlab windows after calling uigetdir?
조회 수: 22 (최근 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!