Sharing Variables between app and matlab workspace?
Show older comments
Hey community,
I have developed an app with the app designer, I am wondering if there's any way to preview and manipulate the variables generated by the app in matlab's main space.
Thanks in advance
4 Comments
Rik
on 15 Aug 2022
Is it the intention that the app is still open and can be used to generate new outputs? Or is it a more linear workflow?
Farid
on 16 Aug 2022
Walter Roberson
on 16 Aug 2022
My debugging work-around for situations like that is commonly to global a name at the command line, and assign the desired value to the name. Doing so effectively inserts the name into the visible workspace even if it was a "static" workspace (a function that had an "end" matching its "function" line, which is a situation where you cannot just assign to workspace variables in the debugger.)
Farid
on 17 Aug 2022
Accepted Answer
More Answers (0)
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!