Equivalent to guidata in App Designer
Mostra commenti meno recenti
I converted a GUIDE based applicatoin to App Designer. When I created a new variable in a callback, I would add it to handles. Then at the end of the callback I would issue a guidate command so that my new variable was accessible in other callbacks of the GUI. Example
handles.cpu_str = cpu_str;
guidata(myapp,handles)
The help tells me to not use guidata except with GUIDE and .fig. So how do I make these variables available? The help advised me to change my handles to app.handles, but this had no effect. I tried making a handles a public property. How should I do this
3 Commenti
William Day
il 30 Mar 2022
Walter Roberson
il 30 Mar 2022
Can you use the migration tool? https://www.mathworks.com/help/matlab/creating_guis/differences-between-app-designer-and-guide.html
William Day
il 31 Mar 2022
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Interactive Control and Callbacks in Centro assistenza e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!