Type for MATLAB array
The fundamental type underlying MATLAB® data. For information on how the MATLAB array works with MATLAB-supported variables, see MATLAB Data.
mxArray is a C language opaque type.
All C MEX-files start with a gateway routine, called
mxArray for both input and output
parameters. For information about the C MEX-file gateway routine,
see Components of MEX File.
Once you have MATLAB data in your MEX-file, use functions
in the Matrix Library to manipulate the data, and functions in the
MEX Library to perform operations in the MATLAB environment.
mxArray to pass data to and from these
Use any of the
mxCreate* functions to create
data, and the corresponding
to free memory.
The header file containing this type is:
following examples in