Documentation

This is machine translation

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

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

Data Types

C language types and constants

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

Types for C

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)

Topics

MATLAB Data

Using mxArray in MEX files.

Was this topic helpful?