workspace variable
古いコメントを表示
My program stores data in a workspace variable. The variable is visible only when the program is done running. I was wondering if it's possible to see that workspace variable in the workspace window as the pgrogram is running and see it's content grow.
採用された回答
その他の回答 (1 件)
Image Analyst
2011 年 11 月 15 日
0 投票
If your program takes 10 minutes to run, that variable probably gets changed a bazillion times. Maybe you can plot it. You can use a line plot if you keep track of every value that variable takes on, or maybe just use a bar chart or text label if you just want to show the latest value. Make sure you issue the "drawnow" command right after you update your plot or text with the new value(s).
カテゴリ
ヘルプ センター および File Exchange で Desktop についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!