MATLAB Application Program Interface Reference Help Desk

mxSetData

Purpose

Set pointer to data

C Syntax

Arguments

array_ptr

Pointer to an mxArray.

data_ptr

Pointer to data.

Description

mxSetData is similar to mxSetPr, except it returns a void *. Use this on numeric arrays with contents other than double.

See Also

mxSetPr



[ Previous | Help Desk | Next ]