From R2019a, Live Editor supports the animation feature.
To enable this feature, please run the following command.
settingsObj = settings;
settingsObj.matlab.editor.AllowFigureAnimation.TemporaryValue = 1;
In R2018b and previous version, please refer the followings.
it is not supported. You can, however, double-click the figures within the Live Editor to get a full figure window with full graphics capabilities.