External Interfaces/API Reference    


Fortran MEX-Functions


mexAtExit
Register function to be called when MATLAB is cleared or terminates
mexCallMATLAB
Call MATLAB function or user-defined M-file or MEX-file
mexErrMsgIdAndTxt
Issue error message with identifier and return to MATLAB
mexErrMsgTxt
Issue error message and return to MATLAB
mexEvalString
Execute MATLAB command in caller's workspace
mexFunction
Entry point to Fortran MEX-file
mexFunctionName
Name of current MEX-function
mexGetArray (Obsolete)
Use mexGetVariable
mexGetArrayPtr (Obsolete)
Use mexGetVariablePtr
mexGetEps (Obsolete)
Use mxGetEps
mexGetFull (Obsolete)
Use mexGetVariable, mxGetM, mxGetN, mxGetPr, mxGetPi
mexGetGlobal (Obsolete)
Use mexGetVariablePtr
mexGetInf (Obsolete)
Use mxGetInf
mexGetMatrix (Obsolete)
Use mexGetVariable
mexGetMatrixPtr (Obsolete)
Use mexGetVariablePtr
mexGetNaN (Obsolete)
Use mxGetNaN
mexGetVariable
Get copy of variable from another workspace
mexGetVariablePtr
Get read-only pointer to variable from another workspace
mexIsFinite (Obsolete)
Use mxIsFinite
mexIsGlobal
True if mxArray has global scope
mexIsInf (Obsolete)
Use mxIsInf
mexIsLocked
True if MEX-file is locked
mexIsNaN (Obsolete)
Use mxIsNaN
mexLock
Lock MEX-file so it cannot be cleared from memory
mexMakeArrayPersistent
Make mxArray persist after MEX-file completes
mexMakeMemoryPersistent
Make memory allocated by MATLAB memory allocation routines persist after MEX-file completes
mexPrintf
ANSI C printf-style output routine
mexPutArray (Obsolete)
Use mexPutVariable
mexPutFull (Obsolete)
Use mxCreateDoubleMatrix, mxSetPr, mxSetPi, mexPutVariable
mexPutMatrix (Obsolete)
Use mexPutVariable
mexPutVariable
Copy mxArray from your MEX-file into another workspace
mexSetTrapFlag
Control response of mexCallMATLAB to errors
mexUnlock
Unlock MEX-file so it can be cleared from memory
mexWarnMsgIdAndTxt
Issue warning message with identifier
mexWarnMsgTxt
Issue warning message


  matPutVariableAsGlobal mexAtExit