Matlab Save Large Mat Files

I ve got a small problem i am working with large matrices and it seems that matlab cant save them as soon as they get large 20 000 x 15 000 complex double.
Matlab save large mat files. Sign in to comment. If filename has no extension that is no period followed by text and the value of format is not specified then matlab appends mat if filename does not include a full path matlab saves to the current folder. When you create a new file using matfile the function creates a version 7 3 mat file that also lets you save variables larger than 2 gb. Use the matfile function to access matlab variables directly from mat files on disk without loading the full variables into memory.
Matlab provides the ability to save variables to mat files through the save command. Learn more about mat file. Unreasonably large mat file. Return only.
These variables can be returned to the workspace using load. When you create a new file using matfile the function creates a version 7 3 mat file that also lets you save variables larger than 2 gb. Open the documentation for the save function using doc save. Introduction to mat files.
The save variables to version 7 3 mat file example on that page shows the exact syntax. Name of file specified as a character vector or string scalar. Save mydata mat a b. Sign in to answer this question.
Is there a way matlab can save large data to a mat file. Show hide all comments. If you do not specify filename the save function saves to a file named matlab mat. In order to save your data to a mat file with version 7 3 or later specify the v7 3 flag as the version input argument.
As a side note i find it highly ironic that the proprietary v6 v7 mat format is more cross platform compatible due to its documentation compared to the v7 3 format that is supposed to rely on the standard hdf5 format and yet is sufficiently different in a non documented manner to make this format unusable on any platform outside matlab.