Pause and restart when my app finished
Show older comments
How can I pause the matlab script until I've closed a matlab app?
In my case, I've an app that serves to select the input of my calculations, but while I'm choosing the input the script continues to run. I need to suspend the script until the user has finished to select the input.
What can I do?
3 Comments
Geoff Hayes
on 28 Mar 2019
Alessandro - you may need to post some code. How are you setting/choosing the inputs? Which part of the script is running?
Alessandro Alberico
on 29 Mar 2019
Alessandro Alberico
on 29 Mar 2019
Edited: Alessandro Alberico
on 29 Mar 2019
Answers (1)
Marc Youcef
on 4 Nov 2020
There is indeed cleaner way, as explained here:
my_app_handle = my_app;
uiwait(my_app_handle.UIFigure_property)
disp("hello")
hello
Categories
Find more on Develop Apps Using App Designer in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!