Matlab Quick Reference Page 10

ADVERTISEMENT

MATLAB Interface to Java
Issue warning message
Get cell's contents
mexWarnMsgTxt
mxGetCell
Create object or return class of object
Get mxArray's class
class
mxGetClassID
Add a package or class to the current Java import list
Get mxArray's class
import
mxGetClassName
C MX Functions
Detect an object of a given class
Get pointer to data
isa
mxGetData
Add field to structure array
mxAddField
Get pointer to dimensions array
Test whether an object is a Java object
mxGetDimensions
isjava
Convert arrays to strings
mxArrayToString
javaArray
Constructs a Java array
mxGetElementSize
Get number of bytes required to store each
Check assertion value
data element
mxAssert
Invokes a Java method
javaMethod
Check assertion value; doesn't print
Get value of eps
mxAssertS
mxGetEps
Constructs a Java object
javaObject
assertion's text
Get field value, given field name and index in
mxGetField
Display method names
methods
Return offset from first element to desired
structure array
mxCalcSingleSubscript
Displays information on all methods implemented by a
element
methodsview
mxGetFieldByNumber
Get field value, given field number and index
class
Allocate dynamic memory
in structure array
mxCalloc
String mxArrays data type
Get field name, given field number in
mxChar
mxGetFieldNameByNum
External Programming Interface
structure array
ber
Enumerated data type that identifies
mxClassID
mxArray's class
Get field number, given field name in
C MEX-Functions
mxGetFieldNumber
structure array
Clear logical flag
mxClearLogical
Register function to be called when
mexAtExit
Get pointer to imaginary data of mxArray
mxGetImagData
MATLAB is cleared or terminates
Specifies if mxArray has imaginary
mxComplexity
components
Get value of infinity
mxGetInf
Call MATLAB function or user-defined M-
mexCallMATLAB
file or MEX-file
mxCreateCellArray
Create unpopulated N-dimensional cell
mxGetIr
Get ir array of sparse matrix
mxArray
Get jc array of sparse matrix
Issue error message and return to MATLAB
mxGetJc
mexErrMsgTxt
mxCreateCellMatrix
Create unpopulated two-dimensional cell
Execute MATLAB command in caller's
Get number of rows
mexEvalString
mxGetM
mxArray
workspace
Get number of columns or number of
mxGetN
Create unpopulated N-dimensional string
mxCreateCharArray
elements
Entry point to C MEX-file
mexFunction
mxArray
Name of current MEX-function
Get name of specified mxArray
mexFunctionName
mxGetName
Create populated t wo-dimensional string
mxCreateCharMatrixFr
Get value of Handle Graphics property
mxArray
Get the value of NaN
mexGet
omStrings
mxGetNaN
Get copy of variable from another workspace
Create unpopulated two-dimensional, double-
Get number of dimensions
mexGetArray
mxCreateDoubleMatrix
mxGetNumberOfDimens
precision, floating-point mxArray
ions
Get read-only pointer to variable from
mexGetArrayPtr
another workspace
Create unpopulated N-dimensional numeric
Get number of elements in array
mxCreateNumericArray
mxGetNumbe rOfElemen
mxArray
ts
True if mxArray has global scope
mexIsGlobal
Create numeric matrix and initialize data
Get number of fields in structure mxArray
mxCreateNumericMatrix
mxGetNumberOfFields
True if MEX-file is locked
mexIsLocked
elements to 0
Get number of elements in ir, pr, and pi
mxGetNzmax
Lock MEX-file so it cannot be cleared from
mexLock
Create scalar, double-precision array
arrays
mxCreateScalarDouble
memory
initialized to specified value
Get mxArray's imaginary data elements
mxGetPi
mexMakeArrayPersisten
Make mxArray persist after MEX-file
Create two-dimensional unpopulated sparse
mxCreateSparse
completes
Get mxArray's real data elements
t
mxGetPr
mxArray
Get real component of mxArray's first data
Make memory allocated by MATLAB's
mxGetScalar
mexMakeMemoryPersist
Create 1-by-n string mxArray initialized to
mxCreateString
memory allocation routines persist after
element
ent
specified strin g
MEX-file completes
Copy string mxArray's data into C-style
mxGetString
Create unpopulated N-dimensional structure
mxCreateStructArray
ANSI C printf-style output routine
string
mexPrintf
mxArray
True if cell mxArray
Copy mxArray from your MEX-file into
mxIsCell
mexPutArray
Create unpopulated two-dimensional
mxCreateStructMatrix
another workspace
structure mxArray
True if string mxArray
mxIsChar
Set value of Handle Graphics property
mexSet
True if mxArray is member of specified class
Free dynamic memory allocated by an
mxIsClass
mxDestroyArray
Control response of mexCallMATLAB to
mxCreate routine
mexSetTrapFlag
True if data is complex
mxIsComplex
errors
mxDuplicateArray
Make deep copy of array
True if mxArray represents its data as double-
mxIsDouble
Unlock MEX-file so it can be cleared from
mexUnlock
Free dynamic memory allocated by mxCalloc
precision, floating-point numbers
mxFree
memory

ADVERTISEMENT

00 votes

Related Articles

Related forms

Related Categories

Parent category: Education