MATLAB: Why don’t animations work in LiveScripts

graphics animationMATLAB

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?

Best Answer

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.