Main Content

mwSize (C)

C type for mxArray size values

Description

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

When using themex-compatibleArrayDims开关,mwSize相当于int.

The C header file containing this type is:

#include "matrix.h"
Introduced before R2006a