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

mxArray Type for MATLAB array
mxClassID Enumerated value identifying class of array
mwSize Type for size values
mwIndex Type for index values
mwSignedIndex Signed integer type for size values
mxChar Type for string array
mxLogical Type for logical array
mxComplexity Flag specifying whether array has imaginary components
mxGetEps Value of EPS
mxGetInf Value of infinity
mxGetNaN Value of NaN (Not-a-Number)

Topics

MATLAB Data

Using mxArray in MEX files.

Was this topic helpful?