External Interfaces/API Reference    
mxGetM

Get the number of rows

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


  mxGetJc mxGetN