pm;void mxSetPi(pm,pi) Matrix *
pr;void mxSetPr(pm,pr) Matrix *
4 function mxGetPr(pm)integer*
4 function mxGetPi(pm)subroutine mxSetPr(pm,pr) subroutine mxSetPi(pm,pi) integer*
mxGetPiis 0 (
NULL), the Matrix is purely real. You can also use
mxIsComplexto test if a Matrix is complex.
The imaginary parts of all input Matrices to a MATLAB function are allocated if any of the input Matrices are complex.
If you use
mxGetPi, note that
pi should be set only to memory allocated with
mxCalloc; they should not be set to statically allocated memory. See the "Matrix Data Structure" section in Chapter 1 for a complete description of these properties of a Matrix.
(c) Copyright 1994 by The MathWorks, Inc.