mxGetM, mxGetN, mxSetM, mxSetN

Purpose

Get and set the row and column dimensions of a Matrix.

C Synopsis

int mxGetM(pm)
  Matrix *pm;
int mxGetN(pm)
  Matrix *pm;
void mxSetM(pm,m)
  Matrix *pm;
  int m;
void mxSetN(pm,n)
  Matrix *pm;
  int n;

Fortran Synopsis

integer*4 function mxGetM(pm)
integer*4 function mxGetN(pm)
subroutine mxSetM(pm,m)
subroutine mxSetN(pm,n)
integer*4 pm, m, n

Arguments

m
row dimension
n
column dimension
pm
pointer to the Matrix structure

Description

These routines let you get and set the row and column dimensions of a Matrix object. The mxGet routines return the dimensions; the mxSet routines set them in the specified Matrix.

(c) Copyright 1994 by The MathWorks, Inc.