How do I retrieve App.UIFigure after diary on

2 ビュー (過去 30 日間)
Stéphane Pisani
Stéphane Pisani 2020 年 3 月 26 日
回答済み: Divya Yerraguntla 2020 年 3 月 31 日
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 Center および File ExchangeInteractive Control and Callbacks についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by