No BSD License  

Highlights from
plamovie

3.0

3.0 | 1 rating Rate this file 7 Downloads (last 30 days) File Size: 4.72 KB File ID: #11688

plamovie

by alex sanchez

 

12 Jul 2006 (Updated 25 Jul 2006)

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

Editor's Notes:

This file was a File Exchange Pick of the Week

| Watch this File

File Information
Description

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.

Required Products Image Processing Toolbox
MATLAB release MATLAB 7 (R14)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (3)
18 Jul 2006 Gerd Kunert

Requires Image processing Toolbox - this should be stated clearly.

30 Jul 2006 chang xin

i'd like to ask can you put the "animation.mat"in your examples together,if it is possible.
for i haven't this mat file ,and can't see the effect of your code ,thx

12 Jan 2010 Rob Campbell

I wasn't able to get this to work on 2009b. I had to modify line 120 to update it to current standards. I now get improper matrix reference at line 153. Unclear why this should be the case.

Please login to add a comment or rating.
Updates
25 Jul 2006

fixed requirement

Tag Activity for this File
Tag Applied By Date/Time
data exploration alex sanchez 22 Oct 2008 08:32:31
movie alex sanchez 22 Oct 2008 08:32:31
slider alex sanchez 22 Oct 2008 08:32:31
graphics alex sanchez 22 Oct 2008 08:32:31
animation alex sanchez 22 Oct 2008 08:32:31
animation Cristina McIntire 07 Nov 2008 12:54:55

Contact us at files@mathworks.com