Running movie file simultaneously to other code

1 view (last 30 days)
Kevin on 5 Jan 2012
I'd like to run a small movie file to simulate a fancy "processing bar" while performing .m code uninterrupted. Clearly I know how to run a movie file first and once that is completed run the .m code, but how can these be run simultaneously to show this movie while the program is running?

Answers (2)

Sean de Wolski
Sean de Wolski on 5 Jan 2012
Are you looking for something like a waitbar?
doc waitbar
If not, please clarify your question.
Sean de Wolski
Sean de Wolski on 5 Jan 2012
You could use a timer to run a waitbar while the other stuff is running.

Sign in to comment.

Walter Roberson
Walter Roberson on 5 Jan 2012
You cannot do that in MATLAB, except by using system() to start a new process that does the playing (and then you have problems with synchronization.)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!