why don't animations work in LiveScripts?

조회 수: 8 (최근 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 CenterFile Exchange에서 Animation에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by