.mat

Write a MAT file without using matlab headers and libraries.

Hello all, I have some data that I would like to save to a MAT file (version 4 or 5, or any version, for that matter). The catch: I wanted to do this without using matlab libraries, since this code will not necessary run in a machine with matlab. My program uses Java and C++, so any existing library in those languages that achieves this...

Error using load command to open .mat file in Matlab

Here's a part of my code where I am entering a name of the .mat file, which is located in the same folder as my code. However it does not identify the file name and gives an error: "??? Error using ==> load Unable to read file 'q_5wells_yearly_CMG.mat': No such file or directory." q_MethodType=input('Do you want to use q from "CMG", ...