Other Useful Functions
Here is a nice list of useful functions in the mex library that make life a lot
easier. Most of these work in similar fashion to those functions described above. The full list can be found in
the MATLAB help documentation with many examples. There are also some example files in the MATLAB
extern directory (MATLAB/extern/examples/mx or mex).
* mxDuplicateArray
* mexErrMsgTxt
* mxMalloc
* mxRealloc
* mxCreateString
* mxDestroyArray
* mxFree
* mxGetCell
* mxGetData
* and many more...