why don't animations work in LiveScripts?

14 ビュー (過去 30 日間)
Chris Dewdney
Chris Dewdney 2017 年 2 月 8 日
コメント済み: Sean de Wolski 2017 年 2 月 10 日
why don't animations work in figures embedded in LiveScripts when they work fine in identical Scripts where the figures open in their own window?

採用された回答

Sean de Wolski
Sean de Wolski 2017 年 2 月 8 日
Live scripts are still new and this functionality hasn't been added yet.
You can force a figure to pop out of a live script by putting:
figure('visible','on')
so that the animation happens.
  2 件のコメント
Chris Dewdney
Chris Dewdney 2017 年 2 月 9 日
Thanks, the animation now displays in a figure window from the livescript but it is very much slower than the script version.
Sean de Wolski
Sean de Wolski 2017 年 2 月 10 日
I've experienced this as well. Using:
drawnow limitrate
to force the graphics updates helps make the animations much faster.

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeAnimation についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by