Animated GIF

version (210 KB) by Robert Bemis
How to generate an animated GIF from MATLAB


Updated Thu, 01 Sep 2016 15:10:33 +0000

View License

This example animates the vibration of a membrane, captures a series of screen shots, and saves the animation as a GIF image file. The animated GIF is also embedded in an HTML page via the published M-File.

Cite As

Robert Bemis (2022). Animated GIF (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2008b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Inspired: gif, 3-D DataViz Contest Animation

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!