Main Content

mwIndex (Fortran)

Fortran 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 INTEGER*4 or INTEGER*8, based on platform and compilation flags.

In Fortran, mwIndex is a preprocessor macro. The Fortran header file containing this type is:

#include "fintrf.h"

Version History

Introduced before R2006a