Uses all images in a folder to create the GIF. Really simple code for a really simple task, but I've found it useful to have in your tools.
animatedGIF(fold, fname, delay): creates an animated gif named fname out of the images in folder fold (currently only JPEG images, can easily be extended)
optional argument delay sets the delay between frames (default 0.5)
Cite As
Adina Stoica (2026). Animated GIF (https://uk.mathworks.com/matlabcentral/fileexchange/46048-animated-gif), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2013a
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
- Robotics and Autonomous Systems > Simulink 3D Animation > Classic Virtual Reality World >
- Aerospace and Defense > Simulink 3D Animation > Classic Virtual Reality World >
- Automotive > Simulink 3D Animation > Classic Virtual Reality World >
Find more on Classic Virtual Reality World in Help Center and MATLAB Answers
Tags
Acknowledgements
Inspired: gif, Average Temperature
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
