How do I retrieve App.UIFigure after diary on

2 Ansichten (letzte 30 Tage)
Stéphane Pisani
Stéphane Pisani am 26 Mär. 2020
Beantwortet: Divya Yerraguntla am 31 Mär. 2020
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

Antworten (1)

Divya Yerraguntla
Divya Yerraguntla am 31 Mär. 2020
Hi,
Try using
figure(FigHandle) %FigHandle is the handle for the GUI figure
to bring the Figure to focus.

Kategorien

Mehr zu App Building finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by