Why do animated GIFs generated from MATLAB not animate in PowerPoint 2003?

I have created an animated GIF from MATLAB, but if I insert in MS PowerPoint 2003 it does not animate.

 Accepted Answer

This enhancement has been incorporated in Release 2008b (R2008b). For previous product releases, read below for any possible workarounds:
'Loop flag' and 'iteration setting' are the two settings in the header of an animated GIF. The 'loop flag' setting (0 or 1) decides if the GIF will be looped or not. 'Iteration setting' decides how many times the GIF would be looped.
Generally, if loop=0 the GIF will play the number of times indicated in the iteration setting. However, in PowerPoint 2003 a loop value of 0 will cause the GIF to not animate at all.
In order to enable animation of a particular file within PowerPoint, pass to IMWRITE the 'LoopCount' parameter with a value in the range [1 65535]. See the Related Solution at the bottom of the page for an example of how to create an animated GIF using MATLAB.

More Answers (0)

Categories

Products

Release

R2007a

Community Treasure Hunt

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

Start Hunting!