External Interfaces/API Reference    
engPutVariable

Put variables into a MATLAB engine's workspace

Fortran Syntax

Arguments

ep
   Engine pointer.

mp
   mxArray pointer.

Description

engPutVariable writes mxArray mp to the engine ep. 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 mxArray.

engPutVariable returns 0 if successful and 1 if an error occurs.

See Also

engGetVariable


  engPutMatrix (Obsolete) Fortran MAT-File Functions