uiputfile causeing app to 'minimize'/ go to back of the screen
4 次查看(过去 30 天)
显示 更早的评论
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.
0 个评论
回答(1 个)
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!
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!