why don't animations work in LiveScripts?

15 Ansichten (letzte 30 Tage)
Chris Dewdney
Chris Dewdney am 8 Feb. 2017
Kommentiert: Sean de Wolski am 10 Feb. 2017
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?

Akzeptierte Antwort

Sean de Wolski
Sean de Wolski am 8 Feb. 2017
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 Kommentare
Chris Dewdney
Chris Dewdney am 9 Feb. 2017
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 am 10 Feb. 2017
I've experienced this as well. Using:
drawnow limitrate
to force the graphics updates helps make the animations much faster.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Animation finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by