This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

C Data Types

C language types and constants

Use the mxArray type to declare MATLAB® array variables in your programs. The mxClassID function shows how to use MATLAB types with their equivalent C types.

mxArrayType for MATLAB array
mxClassIDEnumerated value identifying class of array
mwSizeType for size values
mwIndexType for index values
mwSignedIndexSigned integer type for size values
mxCharType for string array
mxLogicalType for logical array
mxComplexityFlag specifying whether array has imaginary components
mxGetEpsValue of EPS
mxGetInfValue of infinity
mxGetNaNValue of NaN (Not-a-Number)



Using mxArray in MEX files.