No BSD License  

Highlights from
plamovie

3.0

3.0 | 1 rating Rate this file 10 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
animation(2), data exploration, graphics, movie, slider
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (3)
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.

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

18 Jul 2006 Gerd Kunert

Requires Image processing Toolbox - this should be stated clearly.

Updates
25 Jul 2006

fixed requirement

Contact us