Why does the MOVIE2AVI function from MATLAB crash or hang when I try to save an AVI movie file in a folder with a long path name?

1 view (last 30 days)
Why does the MOVIE2AVI function from MATLAB crash or hang when I try to save an AVI movie file in a folder with a long path name?
When I try to save an AVI movie file in a folder with a long path name in Windows, MOVIE2AVI becomes unstable. That is sometimes it results in a segmentation violation, other times I obtain an error saying "??? Failed to open file." and other times just goes into an infinite loop.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 27 Jun 2009
This has been verified as a bug in MATLAB 6.5.1 (R13SP1) in the way that MOVIE2AVI interacts with the Windows operating system.
Currently, to work around this issue, try using a local or short path with no spaces in the folder that constitute the path levels.

More Answers (0)

Products


Release

R13SP1

Community Treasure Hunt

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

Start Hunting!