Mxarray
Mex-functions can be compiled using the C structure mxArray. But it's also possible to use the C++ mwArrays and all the C++ math library. Use "cppmex -setup" to initialise the compiler for your installation and then type cppmex instead of mex. Now the entry point become void cppMexFunction(int...
Platforms: Matlab
License: Freeware | Size: 133.12 KB | Download (39): cppmex Download |
The program mex_test.c is a basic example of how to use mxArray *prhs[] in mexFunction entry embedded in C code. The executable should accept 3 input args of different data types: 1 string, 1 double and 1 int32 array. The program allows a user to input a NULL for any of the input arguments, to...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (45): C & mex file example Download |
mxLogicalFunctions.for provides a suite of functions to support conversion of Fortran logical variables to/from MATLAB style mxArray variables in mex routines or engine applications. Assumes that the MATLAB logical class uses 1 byte for storage of each logical element. When testing a MATLAB...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (43): Fortran Logical mex functions Download |