mwSize (C and Fortran) - Type for size values

Description

mwSize is a type that represents size values, such as array dimensions. This function is provided for purposes of cross-platform flexibility. By default, mwSize is equivalent to int in C. When using the mex -largeArrayDims switch, mwSize is equivalent to size_t in C. mwSize is equivalent to INTEGER*4 in Fortran.

In Fortran, mwSize is implemented as a preprocessor macro.

The C header file containing this type is:

#include "matrix.h"

The Fortran header file containing this type is:

#include "fintrf.h"

See Also

mex, mwIndex

  


 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS