Creating .mat files with C++ code

Creating .mat files with C++ code

Post by Brandon Buckle » Sat, 08 Nov 2003 06:12:48



I want to do exactly what the title says.
Nothing fancy, I just want to manipulate my vectors in C++ because
they are rather large, and I want to use the string function as well.

I'm not sure how to change my options (matopts) file to read in .cxx
files. I'd just prefer to use g++ to compile it outside of matlab,
but I supose that is not possible since matlab is probably involved
in generating the .mat files.

Any help is appreciated as to how to get matlab to compile c++ files,
using the mex command.

Thanks,

Brandon