uiwait and uiresume in App designer to control main code and sub code
Show older comments
In my main code, i need run a new mlapp, but i don't want main code to continue until I return a data from "sub.mlapp", how can i achieve it? thanks!
run("sub.mlapp")
subdata1=getappdata(0,'subdata');
% stop below code until I push return button in sub.mlapp
app.Compresspr.Value=subdata1.data1(1);
app.Compresspr2.Value=subdata1.data1(2);
Accepted Answer
More Answers (0)
Categories
Find more on Analog Devices ADALM1000 Support from Data Acquisition Toolbox 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!