Access variables from App designer MATLAB 2019b
2 ビュー (過去 30 日間)
古いコメントを表示
I am building an app for a test bench with MATLAB 2019b.
I have also difficulties in debugging the code since I cannot find a way to see the variables stored to run the app. Is there a way to access the variable and check if something went wrong?
1 件のコメント
Stephen23
2020 年 10 月 27 日
"I have also difficulties in debugging the code since I cannot find a way to see the variables stored to run the app."
What have you tried so far? Are you using the inbuilt debugging tools?:
回答 (1 件)
Monisha Nalluru
2020 年 10 月 30 日
Debug in MATLAB App Designer function is same as debug in MATLAB functions.
You can place the breakpoints by clicking the (-) next to kine number, When the execution reaches the breakpoint, the app will stop and app function variables will appear in Workspace window. You can check these values in Command window by excuting the variable names in function
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!