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.

mwSignedIndex (C and Fortran)

Signed integer type for size values


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

Was this topic helpful?