Access variables from App designer MATLAB 2019b

조회 수: 2 (최근 30일)
Margherita Marchi
Margherita Marchi 2020년 10월 27일
답변: Monisha Nalluru 2020년 10월 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
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
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

카테고리

Help CenterFile Exchange에서 Variables에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by