External Interfaces/API Reference    


Fortran MX-Functions

mxCalloc
Allocate dynamic memory using MATLAB's memory manager
mxCopyCharacterToPtr
Copy character values from Fortran array to pointer array
mxCopyComplex16ToPtr
Copy COMPLEX*16 values from Fortran array to pointer array
mxCopyInteger4ToPtr
Copy INTEGER*4 values from Fortran array to pointer array
mxCopyPtrToCharacter
Copy character values from pointer array to Fortran array
mxCopyPtrToComplex16
Copy COMPLEX*16 values from pointer array to Fortran array
mxCopyPtrToInteger4
Copy INTEGER*4 values from pointer array to Fortran array
mxCopyPtrToPtrArray
Copy pointer values from pointer array to Fortran array
mxCopyPtrToReal8
Copy REAL*8 values from pointer array to Fortran array
mxCopyReal8ToPtr
Copy REAL*8 values from Fortran array to pointer array
mxCreateFull
Create unpopulated two-dimensional mxArray
mxCreateSparse
Create two-dimensional unpopulated sparse mxArray
mxCreateString
Create 1-by-n character array initialized to specified string
mxFree
Free dynamic memory allocated by mxCalloc
mxFreeMatrix
Free dynamic memory allocated by mxCreateFull and mxCreateSparse
mxGetIr
Get ir array
mxGetJc
Get jc array
mxGetM
Get number of rows
mxGetN
Get total number of columns
mxGetName
Get name of specified mxArray
mxGetNzmax
Get number of elements in ir, pr, and pi arrays
mxGetPi
Get mxArray's imaginary data elements
mxGetPr
Get mxArray's real data elements
mxGetScalar
Get real component of mxArray's first data element
mxGetString
Create character array from mxArray
mxIsComplex
Inquire if mxArray is complex
mxIsDouble
Inquire if mxArray is of type double
mxIsFull
Inquire if mxArray is full
mxIsNumeric
Inquire if mxArray contains numeric data
mxIsSparse
Inquire if mxArray is sparse
mxIsString
Inquire if mxArray contains character array
mxSetIr
Set ir array of sparse mxArray
mxSetJc
Set jc array of sparse mxArray
mxSetM
Set number of rows
mxSetN
Set number of columns
mxSetName
Set name of mxArray



 mexSetTrapFlag mxCalloc