This change has been incorporated into the documentation in Release 2011a (R2011a). For previous releases, read below for any additional information:
This enhancement has been incorporated in Release 2010b (R2010b). VideoWriter and writeVideo can be used to create larger files. For previous product releases, read below for any possible workarounds:
The ability to write files larger than 2GB is not available in MATLAB.
One workaround is to split up data into multiple video files as they approach 2GB. To detect the filesize of a file called 'myfile.dat', use the DIR command as follows:
s = dir('myfile.dat');
filesize = s.bytes
When 'filesize' becomes close to 2GB, close the video file and open a new one to continue writing.
Best Answer