Can I insert a new generated GIF into my live script
5 次查看(过去 30 天)
显示 更早的评论
Hello :) I try to make it short and easy.
- Matlab live script
- the script generates a new .gif
- I want to show the new .gif in the script
I know it is possible to insert it at the beginging, but how do I do at runtime?
Thanks in advance!
0 个评论
回答(1 个)
Saurabh
2022-6-26
Hi,
It is my understanding that you have generated the gif file at runtime and want to display the same during the runtime itself. As far as I know there is no direct command to display the gif (for images, it is imshow) files at runtime. If you use, imshow command to display a gif file, it will display only one frame. However, one workaround could be to use Video Viewer in your live script. I have attached a live script demonstrating the same.
Hope it helps!
2 个评论
Saurabh
2022-7-6
Hi Markus, I am afraid that there is no code (atleast not in my knowledge) available for this process. Do let me know if you find one.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Startup and Shutdown 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!