Thread Subject: How to play .avi in gui axes?

Subject: How to play .avi in gui axes?

From: Doug D

Date: 25 Nov, 2009 00:52:19

Message: 1 of 3

I was playing around with GUIs, and I am stumped on something. I have a .avi file and wanted to play it in an axes in my GUI, how could I go about this with a loop?

I have read up on the funcitons like movie(m) and getframe, but this has only confused me more.

Any help is appreciated.

Subject: How to play .avi in gui axes?

From: Doug D

Date: 25 Nov, 2009 01:33:18

Message: 2 of 3

This is what I have so far:

axes(handles.axes1)

for j = 1:284
F(j) = getframe;
    set(handles.axes1,'nextplot',movie(F))
end

Please help if you can.

Subject: How to play .avi in gui axes?

From: Doug D

Date: 25 Nov, 2009 02:06:03

Message: 3 of 3

Nevermind I got it, using a loop and move = aviread(file.avi) and mov(m)

Tags for this Thread

Everyone's Tags:

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Tag Activity for This Thread
Tag Applied By Date/Time
help Doug D 24 Nov, 2009 19:55:19
to Doug D 24 Nov, 2009 19:55:19
how Doug D 24 Nov, 2009 19:55:19
avi Doug D 24 Nov, 2009 19:54:23
axes Doug D 24 Nov, 2009 19:54:23
loop Doug D 24 Nov, 2009 19:54:23
gui Doug D 24 Nov, 2009 19:54:22
rssFeed for this Thread

Contact us at files@mathworks.com