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.![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1349194/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1349194/image.png)
댓글 수: 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!