why don't animations work in LiveScripts?

8 visualizaciones (últimos 30 días)
Chris Dewdney
Chris Dewdney el 8 de Feb. de 2017
Comentada: Sean de Wolski el 10 de Feb. de 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?

Respuesta aceptada

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

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Animation en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by