mwSignedIndex (C and Fortran)

Signed integer type for size values

Description

mwSignedIndex is a signed integer type that represents size values, such as array dimensions. Use this function for cross-platform flexibility. By default, mwSignedIndex is equivalent to ptrdiff_t in C++. In Fortran, mwSignedIndex is similarly equivalent to INTEGER*4 or INTEGER*8, based on platform and compilation flags.

The C header file containing this type is:

#include "matrix.h"

The Fortran header file containing this type is:

#include "fintrf.h"

See Also

mwSize, mwIndex

Introduced in R2009a