How could I see the values of global variables used in App Designer?
4 views (last 30 days)
Show older comments
I know that using who / whos, I can check some information about global variables; but in no case, the values are given. So, if someone knows how to see the values in command windows or in workspace, please share the answer. Thanks in advance. Regards.
0 Comments
Answers (1)
Rik
on 9 Apr 2023
You can use eval to retrieve the value. You should not be using eval, but the same goes for global variables.
Especially with an app in AppDesigner there is a perfect alternative: private properties.
0 Comments
See Also
Categories
Find more on Develop Apps Using App Designer in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!