Products & Services Industries Academia Support User Community Company

Learn more about MATLAB   

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. In Fortran, mwSize 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"

In Fortran, mwSize is implemented as a preprocessor macro. The Fortran header file containing this type is:

#include "fintrf.h"

See Also

mex, mwIndex, mwSignedIndex

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

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