My workspace is completely empty
39 ビュー (過去 30 日間)
古いコメントを表示
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.
0 件のコメント
採用された回答
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 件のコメント
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 Center および File Exchange で Debugging and Analysis についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!