Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: Problem with movie-command
Replies: 6   Last Post: Nov 17, 2011 9:08 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Martina

Posts: 33
Registered: 8/23/10
Re: Problem with movie-command
Posted: Nov 16, 2011 9:50 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

"Steven_Lord" <slord@mathworks.com> wrote in message <ja0g57$keo$1@newscl01ah.mathworks.com>...
>
>
> "Martina " <sir.henry2@gmx.net> wrote in message
> news:ja060d$iqj$1@newscl01ah.mathworks.com...

> > Hi,
> >
> > I have started experimenting with MATLAB's movie function just today, but
> > I can't really seem to wrap my head around ist. Is there a detailed
> > tutorial on using the movie functions?
> >
> > Look at the following code for example. The arguments numtimes and fps
> > seem to be (partly) ignored by matlab: The speed of the movie does not
> > change, no matter what fps is, and although numtimes = 1 the movie runs
> > twice. What am I doing wrong? And where can I learn working with movie
> > from scratch?

>
> The run twice behavior is described in this Technical Support document:
>
> http://www.mathworks.com/support/solutions/en/data/1-16FM0/index.html?solution=1-16FM0
>
> I'm not certain what is causing the behavior you're seeing with the FPS
> input; the documentation indicates that if your machine can't handle the
> desired FPS, it will play as fast as it can, but with your code below you're
> asking for 3 frames per second.
>
> As for a tutorial, I would first recommend the documentation: type "doc
> movie" without the quotes at the MATLAB prompt. If that doesn't give you
> enough information, then my next stop would be this example that is linked
> from the MOVIE function's reference page:
>
> http://www.mathworks.com/help/techdoc/creating_plots/f10-1460.html#f10-15002
>
> There are also other functions that you can use to create a movie,
> particularly if your end goal is to create a file that can be played outside
> MATLAB. Look at the AVIFILE function:
>
> http://www.mathworks.com/help/techdoc/ref/avifile.html
>
> and/or VideoWriter:
>
> http://www.mathworks.com/help/techdoc/ref/videowriterclass.html
>
> although if you're using a version of MATLAB old enough that you're seeing
> the "run twice" behavior VideoWriter may not be available in your version
> (it may have been introduced in a later release.)
>
> --
> Steve Lord
> slord@mathworks.com
> To contact Technical Support use the Contact Us link on
> http://www.mathworks.com


Well, but my MATLAB version is brandnew (2011b)! How come I still have the "run twice" problem?

Your solution for my other problem (hold, cla) works fine, thanks.



Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.