Running movie file simultaneously to other code

1 次查看(过去 30 天)
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?
Thanks,
Kevin

回答(2 个)

Sean de Wolski
Sean de Wolski 2012-1-5
Are you looking for something like a waitbar?
doc waitbar
If not, please clarify your question.
  2 个评论
Kevin
Kevin 2012-1-5
Yes, I am looking to create a custom waitbar.
Sean de Wolski
Sean de Wolski 2012-1-5
You could use a timer to run a waitbar while the other stuff is running.

请先登录,再进行评论。


Walter Roberson
Walter Roberson 2012-1-5
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.)

类别

Help CenterFile Exchange 中查找有关 Environment and Settings 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by