plamovie

Plays a matlab movie, with the option of using a slider

You are now following this Submission

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 (2026). plamovie (https://uk.mathworks.com/matlabcentral/fileexchange/11688-plamovie), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0

fixed requirement