The getframe example doesn't work: impossible to convert stuct in double
3 views (last 30 days)
Show older comments
Dear all,
I tried to run the simple example for making a movie usnig getframe. Unfortunately the example stops at the getframe line complaining that:
The following error occurred converting from struct to double: Error using double Conversion to double from struct is not possible.
Error in movietest (line 8) F(j) = getframe;
I remember with my prvious matlab version I had no problem. Someone can help me?
Thanks
Gabriele
0 Comments
Answers (1)
Jan
on 5 Aug 2013
Edited: Friedrich
on 5 Aug 2013
This does not seem like a problem of the Matlab version, but concerns the type and size of F before the example runs. How did you initialize F? Perhaps all you need is a:
clear('F')
2 Comments
Jan
on 5 Aug 2013
Please explain any details. We cannot guess, what "seems a bit failing" means. Perhaps you omit the magic pause(0.02) after uicontrols have been created?
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!