Display plots while processing loop

Is is possible to display plots in a figure while doing all the processing. Displaying is time critical in order to show simulation of solar system.

 採用された回答

Honglei Chen
Honglei Chen 2012 年 5 月 11 日

4 投票

At the end of each loop, use drawnow, like this:
for ...
% do processing
drawnow;
end

1 件のコメント

Donghoon Lee
Donghoon Lee 2021 年 12 月 22 日
Dude you made my day

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeSolar Power についてさらに検索

質問済み:

2012 年 5 月 11 日

コメント済み:

2021 年 12 月 22 日

Community Treasure Hunt

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

Start Hunting!

Translated by