C MX Function

原文位置 http://nf.nci.org.au/facilities/software/Matlab/techdoc/apiref/mx-c.html

现备份如下:

mxAddFieldAdd field to structure array
mxArrayToStringConvert arrays to strings 
mxAssertCheck assertion value
mxAssertSCheck assertion value; doesn't print assertion's text
mxCalcSingleSubscriptReturn offset from first element to desired element
mxCallocAllocate dynamic memory
mxCharString mxArrays data type
mxClassIDEnumerated data type that identifies mxArray's class
mxClearLogical (Obsolete)Clear logical flag
mxComplexitySpecifies if mxArray has imaginary components
mxCreateCellArrayCreate unpopulated N-dimensional cell mxArray
mxCreateCellMatrixCreate unpopulated two-dimensional cell mxArray
mxCreateCharArrayCreate unpopulated N-dimensional string mxArray
mxCreateCharMatrixFromStringsCreate populated two-dimensional string mxArray
mxCreateDoubleMatrixCreate unpopulated two-dimensional, double-precision, floating-point mxArray
mxCreateDoubleScalarCreate scalar, double-precision array initialized to the specified value
mxCreateLogicalArrayCreate N-dimensional, logical mxArray initialized to false
mxCreateLogicalMatrixCreate two-dimensional, logical mxArray initialized to false
mxCreateLogicalScalarCreate scalar, logical mxArray initialized to false
mxCreateFull (Obsolete)Use mxCreateDoubleMatrix
mxCreateNumericArrayCreate unpopulated N-dimensional numeric mxArray 
mxCreateNumericMatrixCreate numeric matrix and initialize data elements to 0
mxCreateScalarDoubleCreate scalar, double-precision array initialized to specified value
mxCreateSparseCreate two-dimensional unpopulated sparse mxArray
mxCreateSparseLogicalMatrixCreate unpopulated, two-dimensional, sparse, logical mxArray
mxCreateStringCreate 1-by-n string mxArray initialized to specified string
mxCreateStructArrayCreate unpopulated N-dimensional structure mxArray
mxCreateStructMatrixCreate unpopulated two-dimensional structure mxArray
mxDestroyArrayFree dynamic memory allocated by an mxCreate routine
mxDuplicateArrayMake deep copy of array
mxFreeFree dynamic memory allocated by mxCalloc
mxFreeMatrix (Obsolete)Use mxDestroyArray
mxGetCellGet cell's contents
mxGetCharsGet pointer to character array data
mxGetClassIDGet mxArray's class
mxGetClassNameGet mxArray's class
mxGetDataGet pointer to data
mxGetDimensionsGet pointer to dimensions array
mxGetElementSizeGet number of bytes required to store each data element
mxGetEpsGet value of eps
mxGetFieldGet field value, given field name and index in structure array
mxGetFieldByNumberGet field value, given field number and index in structure array
mxGetFieldNameByNumberGet field name, given field number in structure array
mxGetFieldNumberGet field number, given field name in structure array
mxGetImagDataGet pointer to imaginary data of mxArray
mxGetInfGet value of infinity
mxGetIrGet ir array of sparse matrix
mxGetJcGet jc array of sparse matrix
mxGetLogicalsGet pointer to logical array data
mxGetMGet number of rows
mxGetNGet number of columns or number of elements
mxGetName (Obsolete)Get name of specified mxArray
mxGetNaNGet the value of NaN
mxGetNumberOfDimensionsGet number of dimensions
mxGetNumberOfElementsGet number of elements in array
mxGetNumberOfFieldsGet number of fields in structure mxArray
mxGetNzmaxGet number of elements in irpr, and pi arrays
mxGetPiGet mxArray's imaginary data elements
mxGetPrGet mxArray's real data elements
mxGetScalarGet real component of mxArray's first data element
mxGetStringCopy string mxArray's data into C-style string
mxIsCellTrue if cell mxArray
mxIsCharTrue if string mxArray
mxIsClassTrue if mxArray is member of specified class
mxIsComplexTrue if data is complex
mxIsDoubleTrue if mxArray represents its data as double-precision, floating-point numbers
mxIsEmptyTrue if mxArray is empty
mxIsFiniteTrue if value is finite
mxIsFromGlobalWSTrue if mxArray was copied from the MATLAB global workspace
mxIsFull (Obsolete)Use mxIsSparse
mxIsInfTrue if value is infinite
mxIsInt8True if mxArray represents its data as signed 8-bit integers
mxIsInt16True if mxArray represents its data as signed 16-bit integers
mxIsInt32True if mxArray represents its data as signed 32-bit integers
mxIsLogicalTrue if mxArray is Boolean
mxIsLogicalScalarTrue if scalar mxArray of class mxLOGICAL
mxIsLogicalScalarTrueTrue if scalar mxArray of class mxLOGICAL is true
mxIsNaNTrue if value is NaN
mxIsNumericTrue if mxArray is numeric
mxIsSingleTrue if mxArray represents its data as single-precision, floating-point numbers
mxIsSparseTrue if sparse mxArray
mxIsString (Obsolete)Use mxIsChar
mxIsStructTrue if structure mxArray
mxIsUint8True if mxArray represents its data as unsigned 8-bit integers
mxIsUint16True if mxArray represents its data as unsigned 16-bit integers
mxIsUint32True if mxArray represents its data as unsigned 32-bit integers
mxMallocAllocate dynamic memory using the MATLAB memory manager
mxReallocReallocate memory
mxRemoveFieldRemove field from structure array
mxSetAllocFcnsRegister memory allocation/deallocation functions in stand-alone engine or MAT application
mxSetCellSet value of one cell
mxSetClassNameConvert MATLAB structure array to MATLAB object array
mxSetDataSet pointer to data
mxSetDimensionsModify number/size of dimensions
mxSetFieldSet field value of structure array, given field name/index
mxSetFieldByNumberSet field value in structure array, given field number/index
mxSetImagDataSet imaginary data pointer for mxArray
mxSetIrSet ir array of sparse mxArray
mxSetJcSet jc array of sparse mxArray
mxSetLogical (Obsolete)Set logical flag
mxSetMSet number of rows
mxSetNSet number of columns
mxSetName (Obsolete)Set name of mxArray
mxSetNzmaxSet storage space for nonzero elements
mxSetPiSet new imaginary data for mxArray
mxSetPrSet new real data for mxArray
 

 

转载于:https://www.cnblogs.com/qingliu411/p/3342444.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值