How could I see the values of global variables used in App Designer?

6 views (last 30 days)
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.

Answers (1)

Rik
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.

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!