Animated GIF

How to generate an animated GIF from MATLAB
Updated 1 Sep 2016

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 (2024). Animated GIF (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2008b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Find more on Animation in Help Center and MATLAB Answers

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!


Version Published Release Notes

Updated license

Copyright (BSD compliance)