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)
Adina Stoica (2022). Animated GIF (https://www.mathworks.com/matlabcentral/fileexchange/46048-animated-gif), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!