Why am I unable to read or write a file of size greater than 2GB under Linux or MacOS with MATLAB 7.0 (R14)?

4 views (last 30 days)
I am not able to use FOPEN or FWRITE on files greater than 2GB with MATLAB 7.0 (R14).
When I try to write more than 2GB to a file, I receive the following error:
File size limit exceeded (core dumped)
When I try to open a file using the following format:
[fid, message] = fopen('myFile','r');
I receive the following error:
message =
File too large

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 27 Jun 2009
This bug has been fixed in Release 14 Service Pack 3 (R14SP3). For previous product releases, read below for any possible workarounds:
There is a bug in MATLAB 7.0 (R14) that affects the way MATLAB reads files larger than 2 GB on Linux and MacOS machines.
There are no workarounds.

More Answers (0)

Products

Community Treasure Hunt

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

Start Hunting!