External Interfaces Reference Previous page   Next Page
mxGetM

Get number of rows in mxArray

Fortran Syntax

Arguments

pm
   Pointer to an mxArray.

Returns

The number of rows in the mxArray to which pm points.

Description

mxGetM returns the number of rows in the specified array.

Example

See matdemo2.f in the eng_mat subdirectory of the examples directory for a sample program that illustrates how to use this routine in a Fortran program.

See Also

mxGetN, mxSetM, mxSetN


Previous page  mxGetJc mxGetN Next page

© 1994-2005 The MathWorks, Inc.