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

4 views (last 30 days)
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.

Answers (1)

Harsha Priya Daggubati
Harsha Priya Daggubati on 11 May 2020
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!

Categories

Find more on MATLAB in Help Center and File Exchange

Products


Release

R2019b

Community Treasure Hunt

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

Start Hunting!