MATLAB Application Program Interface Reference Help Desk

mexPutMatrix

Purpose

Writes an mxArray to the caller's workspace

Fortran Syntax

Arguments

mp

Pointer to mxArray.

Returns

0 if successful, and 1 if an error occurs.

Description

mexPutMatrix writes mxArray mp to the caller's workspace. If the mxArray does not exist in the workspace, it is created. If an mxArray with the same name already exists in the workspace, the existing mxArray is replaced with the new one.



[ Previous | Help Desk | Next ]