Autoplay gifs in MATLAB
3 views (last 30 days)
Show older comments
Hello, I'm trying to integrate a gif into a little project of mine but whenever the gif is played, I need to manually press play on the GUI -- is there any way I can make it so the gif automatically plays when the GUI pops up? Thanks in advance.
1 Comment
Walter Roberson
on 17 Jan 2016
How are you loading the gif? What code are you using to play it? Are you loading it with different frames along the 4th dimension, and using implay() to play it?
Answers (1)
Jan
on 17 Jan 2016
See http://www.mathworks.com/matlabcentral/answers/263518#answer_205926 for some code to display an animated GIF inside a button.
You can find further examples, if you ask an internet search engine, e.g.: http://undocumentedmatlab.com/blog/displaying-animated-gifs
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!