MATLAB Application Program Interface
  Go to function:
    Search    Help Desk 
mxGetData    Examples   See Also

Get pointer to data

C Syntax

Arguments

array_ptr
  Pointer to an mxArray.

Description

Similar to mxGetPr, except mxGetData returns a void *. Use mxGetData on numeric arrays with contents other than double.

Examples

See phonebook.c in the refbook subdirectory of the examples directory.

For additional examples, see mxcreatecharmatrixfromstr.c and mxisfinite.c in the mx subdirectory of the examples directory.

See Also

mxGetPr



[ Previous | Help Desk | Next ]