フィルターのクリア

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

5 ビュー (過去 30 日間)
Edwin Henry Jara Bardales
Edwin Henry Jara Bardales 2023 年 4 月 8 日
回答済み: Rik 2023 年 4 月 9 日
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.

回答 (1 件)

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

カテゴリ

Help Center および File ExchangeDevelop Apps Using App Designer についてさらに検索

製品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by