why don't animations work in LiveScripts?

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?

 采纳的回答

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 个评论

Thanks, the animation now displays in a figure window from the livescript but it is very much slower than the script version.
I've experienced this as well. Using:
drawnow limitrate
to force the graphics updates helps make the animations much faster.

请先登录,再进行评论。

更多回答(0 个)

类别

帮助中心File Exchange 中查找有关 Animation 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by