This example shows how to pass strings to a MEX function built with the C
Matrix API.
This example shows how to write a MEX file that passes scalar values.
This example shows how to populate a sparse matrix using the C Matrix
API.
This example shows how to use unsigned 16-bit integers in a MEX file using the
C Matrix API.
This example shows how to pass structures and cell arrays to MEX files built
with the C Matrix API.
You can manipulate multidimensional numerical arrays by using typed data access
functions like mxGetDoubles and
mxGetComplexDoubles.