Main Content

mwIndex (C)

C type for mxArray index values

Description

mwIndex is a type that represents index values, such as indices into arrays. Use this function for cross-platform flexibility. By default, mwIndex is equivalent to size_t in C.

The C header file containing this type is:

#include "matrix.h"
Introduced before R2006a