My workspace is completely empty

조회 수: 38 (최근 30일)
Quang Minh Dao
Quang Minh Dao 2020년 5월 17일
댓글: Image Analyst 2020년 5월 17일
When i run the test function, nothing shows up in the workspace.
I want check the values of my variables but it just doesn't show anything at all.

채택된 답변

Image Analyst
Image Analyst 2020년 5월 17일
When the function is done running, the variables in the workspace vanish, as with any computer program. If you want to see what they are, make it a script by getting rid of the function line, and the final end statement. Or, you can put a breakpoint at the very last statement (pause).
  댓글 수: 3
Quang Minh Dao
Quang Minh Dao 2020년 5월 17일
oh i can c the workspace now. Just have to remove the 1st and the last line, which are function and end lines. Thank you
Image Analyst
Image Analyst 2020년 5월 17일
I didn't say put a pause there - you already have a pause. I said put a break point there (click in the left margin to make a red spot) then run it.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Debugging and Analysis에 대해 자세히 알아보기

태그

제품


릴리스

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by