r
|
Opens file for reading only; determines the current version of the MAT-file by inspecting the files and preserves the current version.
|
u
|
Opens file for update, both reading and writing, but does not create the file if the file does not exist (equivalent to the r+ mode of fopen ); determines the current version of the MAT-file by inspecting the files and preserves the current version.
|
w
|
Opens file for writing only; deletes previous contents, if any.
|
w4
|
Creates a MATLAB 4 MAT-file, rather than the default MATLAB 5 MAT-file.
|