Animations in Live Scripts
24 ビュー (過去 30 日間)
古いコメントを表示
Hello,
I have an animation in a live script and it works fine.
For presentations I want to open the animation in a seperate figure window using the Open in figure window button, but the result is only the final plot without the play button, the position slider and so on, so I am unable to start the animation or to move to a certain time.
How can get the animation running in the fikgure window?
Michael
0 件のコメント
採用された回答
Cris LaPierre
2023 年 5 月 4 日
The replay option is a feature of live scripts, and is not avaiable in external figure windows. This was introduced in R2021a.
2 件のコメント
Cris LaPierre
2023 年 5 月 4 日
編集済み: Cris LaPierre
2023 年 5 月 4 日
As an alternative, you can use the Export Animation button to export your animation to an MP4 (up to 1000 frames). Then you could step through the video, jump to specific times, etc.
If your animation contains more than 1000 frames, consider creating the movie yourself using getframe and VideoWriter (see here).
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Animation についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!