uiputfile causeing app to 'minimize'/ go to back of the screen

조회 수: 6 (최근 30일)
Adam J. Senko
Adam J. Senko 2020년 5월 8일
답변: Harsha Priya Daggubati 2020년 5월 11일
When I call and use uiputfile with my .mlapp, after select the file name, the app goes to the 'back' of the screen so that it is 'behind' all other windows. I doesn't minimize it technically, but is a pain to use.

답변 (1개)

Harsha Priya Daggubati
Harsha Priya Daggubati 2020년 5월 11일
Hi,
For MATLAB R2018a and newer you can use the figure command to focus your app again.
uiputfile; % Could be other dialogs here
drawnow;
figure(app.UIFigure)
Hope this helps!

카테고리

Help CenterFile Exchange에서 MATLAB에 대해 자세히 알아보기

제품


릴리스

R2019b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by