mwSize (C) - C type for mxArray size values - MATLAB (original) (raw)

Main Content

C type for mxArray size values

Description

mwSize is a type that represents size values, such as array dimensions. Use this function for cross-platform flexibility. By default, mwSize is equivalent to size_t. mwSize is an unsigned type, meaning a nonnegative integer.

When using the mex -compatibleArrayDims switch, mwSize is equivalent toint.

The C header file containing this type is:

Version History

Introduced before R2006a