plamovie

Plays a matlab movie, with the option of using a slider
3.3K Downloads
Updated 25 Jul 2006

No License

Editor's Note: This file was a File Exchange Pick of the Week

Plays a matlab movie

USAGE:
playmovie(m,fps,n,option)

EXAMPLES:
playmovie('C:\MATLAB6p5\work\animation.mat')
playmovie(mov,2,1,'slider')
playmovie(mov,1,'fullscreen','slider')

DESCRIPTION:
Plays the movie frames movieframes
n times at frmprsc frames per second
The default values for n and frmprsc are 1 and 2 frames per second movieframes can also be a filename of a .mat file containing the movie frames
The name of the variable does not matter as long as there is only one variable

NOTES:
If option is equal to 'slider' a slider is placed at the bottom of the figure which allows for sections to be played.
If option is equal to 'fullscreen' the movie frames are displayed in a full screen type mode, otherwise frames are displayed in true size.
When using the fullscreen model and the movie ends, press any key to close the figure.
More than one option can be used at the same time.

Cite As

Alex Sanchez (2024). plamovie (https://www.mathworks.com/matlabcentral/fileexchange/11688-plamovie), MATLAB Central File Exchange. Retrieved .

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

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0

fixed requirement