External Interfaces/API Reference    


Fortran MX-Functions


mxAddField
Add field to structure array
mxCalcSingleSubscript
Return offset from first element to desired element
mxCalloc
Allocate dynamic memory using the MATLAB memory manager
mxClassIDFromClassName
Get identifier that corresponds to a class
mxClearLogical (Obsolete)
Clear logical flag
mxCopyCharacterToPtr
Copy character values from Fortran array to pointer array
mxCopyComplex8ToPtr
Copy COMPLEX*8 values from Fortran array to pointer array
mxCopyComplex16ToPtr
Copy COMPLEX*16 values from Fortran array to pointer array
mxCopyInteger1ToPtr
Copy INTEGER*1 values from Fortran array to pointer array
mxCopyInteger2ToPtr
Copy INTEGER*2 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
mxCopyPtrToComplex8
Copy COMPLEX*8 values from pointer array to Fortran array
mxCopyPtrToComplex16
Copy COMPLEX*16 values from pointer array to Fortran array
mxCopyPtrToInteger1
Copy INTEGER*1 values from pointer array to Fortran array
mxCopyPtrToInteger2
Copy INTEGER*2 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
mxCopyPtrToReal4
Copy REAL*4 values from pointer array to Fortran array
mxCopyPtrToReal8
Copy REAL*8 values from pointer array to Fortran array
mxCopyReal4ToPtr
Copy REAL*4 values from Fortran array to pointer array
mxCopyReal8ToPtr
Copy REAL*8 values from Fortran array to pointer array
mxCreateCellArray
Create unpopulated N-dimensional cell mxArray
mxCreateCellMatrix
Create unpopulated two-dimensional cell mxArray
mxCreateCharArray
Create unpopulated N-dimensional string mxArray
mxCreateCharMatrixFromStrings
Create populated two-dimensional string mxArray
mxCreateDoubleMatrix
Create unpopulated two-dimensional, double-precision, floating-point mxArray
mxCreateFull (Obsolete)
Create unpopulated two-dimensional mxArray
mxCreateNumericArray
Create unpopulated N-dimensional numeric mxArray
mxCreateNumericMatrix
Create numeric matrix and initialize data elements to 0
mxCreateScalarDouble
Create scalar, double-precision array initialized to specified value
mxCreateSparse
Create two-dimensional unpopulated sparse mxArray
mxCreateString
Create 1-by-n character array initialized to specified string
mxCreateStructArray
Create unpopulated N-dimensional structure mxArray
mxCreateStructMatrix
Create unpopulated two-dimensional structure mxArray
mxDestroyArray
Free dynamic memory allocated by an mxCreate routine
mxDuplicateArray
Make deep copy of array
mxFree
Free dynamic memory allocated by mxCalloc
mxFreeMatrix (Obsolete)
Free dynamic memory allocated by mxCreateFull and mxCreateSparse
mxGetCell
Get cell's contents
mxGetClassID
Get mxArray's class
mxGetClassName
Get mxArray's class
mxGetData
Get pointer to data
mxGetDimensions
Get pointer to dimensions array
mxGetElementSize
Get number of bytes required to store each data element
mxGetEps
Get value of eps
mxGetField
Get field value, given field name and index in structure array
mxGetFieldByNumber
Get field value, given field number and index in structure array
mxGetFieldNameByNumber
Get field name, given field number in structure array
mxGetFieldNumber
Get field number, given field name in structure array
mxGetImagData
Get pointer to imaginary data of mxArray
mxGetInf
Get value of infinity
mxGetIr
Get ir array
mxGetJc
Get jc array
mxGetM
Get number of rows
mxGetN
Get total number of columns
mxGetName (Obsolete)
Get name of specified mxArray
mxGetNaN
Get the value of NaN
mxGetNumberOfDimensions
Get number of dimensions
mxGetNumberOfElements
Get number of elements in array
mxGetNumberOfFields
Get number of fields in structure 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
mxIsCell
True if cell mxArray
mxIsChar
True if string mxArray
mxIsClass
True if mxArray is member of specified class
mxIsComplex
Inquire if mxArray is complex
mxIsDouble
Inquire if mxArray is of type double
mxIsEmpty
True if mxArray is empty
mxIsFinite
True if value is finite
mxIsFromGlobalWS
True if mxArray was copied from the MATLAB global workspace
mxIsFull (Obsolete)
Inquire if mxArray is full
mxIsInf
True if value is infinite
mxIsInt8
True if mxArray represents its data as signed 8-bit integers
mxIsInt16
True if mxArray represents its data as signed 16-bit integers
mxIsInt32
True if mxArray represents its data as signed 32-bit integers
mxIsLogical
True if mxArray is Boolean
mxIsNaN
True if value is NaN
mxIsNumeric
Inquire if mxArray contains numeric data
mxIsSingle
True if mxArray represents its data as single-precision, floating-point numbers
mxIsSparse
Inquire if mxArray is sparse
mxIsString (Obsolete)
Inquire if mxArray contains character array
mxIsStruct
True if structure mxArray
mxIsUint8
True if mxArray represents its data as unsigned 8-bit integers
mxIsUint16
True if mxArray represents its data as unsigned 16-bit integers
mxIsUint32
True if mxArray represents its data as unsigned 32-bit integers
mxMalloc
Allocate dynamic memory using the MATLAB memory manager
mxRealloc
Reallocate memory
mxRemoveField
Remove field from structure array
mxSetCell
Set value of one cell
mxSetData
Set pointer to data
mxSetDimensions
Modify number/size of dimensions
mxSetField
Set field value of structure array, given field name/index
mxSetFieldByNumber
Set field value in structure array, given field number/index
mxSetImagData
Set imaginary data pointer for mxArray
mxSetIr
Set ir array of sparse mxArray
mxSetJc
Set jc array of sparse mxArray
mxSetLogical (Obsolete)
Set logical flag
mxSetM
Set number of rows
mxSetN
Set number of columns
mxSetName (Obsolete)
Set name of mxArray
mxSetNzmax
Set storage space for nonzero elements
mxSetPi
Set new imaginary data for an mxArray
mxSetPr
Set new real data for an mxArray


  mexWarnMsgTxt mxAddField