How could I see the values of global variables used in App Designer?
4 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(1 个)
Rik
2023-4-9
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 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Develop Apps Using App Designer 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!