How do I retrieve App.UIFigure after diary on

2 次查看(过去 30 天)
Hi,
I'm usign AppDesigner and inside my AppUIFigure I use diary command to datalog some informations when the app runs.
My problem is when the diary command is executed (diary on) the display keeps Matlab Command Windows in the foregroung and I have to click on the App UIFigure window to retreive it in foreground and follow the execution. So could it be possible to keep AppUIFigure forward when the diary is called ?
Thank in advance !
Stef

回答(1 个)

Divya Yerraguntla
Divya Yerraguntla 2020-3-31
Hi,
Try using
figure(FigHandle) %FigHandle is the handle for the GUI figure
to bring the Figure to focus.

类别

Help CenterFile Exchange 中查找有关 Interactive Control and Callbacks 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by