External Interfaces/API Reference    


C MX-Functions


mxAddField
Add field to structure array
mxArrayToString
Convert arrays to strings 
mxAssert
Check assertion value
mxAssertS
Check assertion value; doesn't print assertion's text
mxCalcSingleSubscript
Return offset from first element to desired element
mxCalloc
Allocate dynamic memory
mxChar
String mxArrays data type
mxClassID
Enumerated data type that identifies mxArray's class
mxClearLogical (Obsolete)
Clear logical flag
mxComplexity
Specifies if mxArray has imaginary components
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
mxCreateDoubleScalar
Create scalar, double-precision array initialized to the specified value
mxCreateLogicalArray
Create N-dimensional, logical mxArray initialized to false
mxCreateLogicalMatrix
Create two-dimensional, logical mxArray initialized to false
mxCreateLogicalScalar
Create scalar, logical mxArray initialized to false
mxCreateFull (Obsolete)
Use mxCreateDoubleMatrix
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
mxCreateSparseLogicalMatrix
Create unpopulated, two-dimensional, sparse, logical mxArray
mxCreateString
Create 1-by-n string mxArray 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)
Use mxDestroyArray
mxGetCell
Get cell's contents
mxGetChars
Get pointer to character array data
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 of sparse matrix
mxGetJc
Get jc array of sparse matrix
mxGetLogicals
Get pointer to logical array data
mxGetM
Get number of rows
mxGetN
Get number of columns or number of elements
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
Copy string mxArray's data into C-style string
mxIsCell
True if cell mxArray
mxIsChar
True if string mxArray
mxIsClass
True if mxArray is member of specified class
mxIsComplex
True if data is complex
mxIsDouble
True if mxArray represents its data as double-precision, floating-point numbers
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)
Use mxIsSparse
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
mxIsLogicalScalar
True if scalar mxArray of class mxLOGICAL
mxIsLogicalScalarTrue
True if scalar mxArray of class mxLOGICAL is true
mxIsNaN
True if value is NaN
mxIsNumeric
True if mxArray is numeric
mxIsSingle
True if mxArray represents its data as single-precision, floating-point numbers
mxIsSparse
True if sparse mxArray
mxIsString (Obsolete)
Use mxIsChar
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
mxSetAllocFcns
Register memory allocation/deallocation functions in stand-alone engine or MAT application
mxSetCell
Set value of one cell
mxSetClassName
Convert MATLAB structure array to MATLAB object array
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 mxArray
mxSetPr
Set new real data for mxArray


  mexWarnMsgTxt mxAddField