#include <stdlib.h>
#include "mxarray.h"
Go to the source code of this file.
Defines | |
#define | MEXPROTO_H |
#define | OCTINTERP_API |
#define | MXARRAY_TYPEDEFS_ONLY |
#define | mxAssert(expr, msg) |
#define | mxAssertS(expr, msg) |
Functions | |
OCTINTERP_API const char * | mexFunctionName (void) |
OCTINTERP_API int | mexCallMATLAB (int nargout, mxArray *argout[], int nargin, mxArray *argin[], const char *fname) |
OCTINTERP_API void | mexSetTrapFlag (int flag) |
OCTINTERP_API int | mexEvalString (const char *s) |
OCTINTERP_API void | mexErrMsgTxt (const char *s) |
OCTINTERP_API void | mexErrMsgIdAndTxt (const char *id, const char *s,...) |
OCTINTERP_API void | mexWarnMsgTxt (const char *s) |
OCTINTERP_API void | mexWarnMsgIdAndTxt (const char *id, const char *s,...) |
OCTINTERP_API void | mexPrintf (const char *fmt,...) |
OCTINTERP_API mxArray * | mexGetVariable (const char *space, const char *name) |
OCTINTERP_API const mxArray * | mexGetVariablePtr (const char *space, const char *name) |
OCTINTERP_API int | mexPutVariable (const char *space, const char *name, mxArray *ptr) |
OCTINTERP_API void | mexMakeArrayPersistent (mxArray *ptr) |
OCTINTERP_API void | mexMakeMemoryPersistent (void *ptr) |
OCTINTERP_API int | mexAtExit (void(*f)(void)) |
OCTINTERP_API const mxArray * | mexGet (double handle, const char *property) |
OCTINTERP_API int | mexIsGlobal (const mxArray *ptr) |
OCTINTERP_API int | mexIsLocked (void) |
OCTINTERP_API void | mexLock (void) |
OCTINTERP_API int | mexSet (double handle, const char *property, mxArray *val) |
OCTINTERP_API void | mexUnlock (void) |
OCTINTERP_API int | mxIsFinite (double v) |
OCTINTERP_API int | mxIsInf (double v) |
OCTINTERP_API int | mxIsNaN (double v) |
OCTINTERP_API double | mxGetEps (void) |
OCTINTERP_API double | mxGetInf (void) |
OCTINTERP_API double | mxGetNaN (void) |
OCTINTERP_API void * | mxCalloc (size_t n, size_t size) |
OCTINTERP_API void * | mxMalloc (size_t n) |
OCTINTERP_API void * | mxRealloc (void *ptr, size_t size) |
OCTINTERP_API void | mxFree (void *ptr) |
OCTINTERP_API mxArray * | mxCreateCellArray (mwSize ndims, const mwSize *dims) |
OCTINTERP_API mxArray * | mxCreateCellMatrix (mwSize m, mwSize n) |
OCTINTERP_API mxArray * | mxCreateCharArray (mwSize ndims, const mwSize *dims) |
OCTINTERP_API mxArray * | mxCreateCharMatrixFromStrings (mwSize m, const char **str) |
OCTINTERP_API mxArray * | mxCreateDoubleMatrix (mwSize nr, mwSize nc, mxComplexity flag) |
OCTINTERP_API mxArray * | mxCreateDoubleScalar (double val) |
OCTINTERP_API mxArray * | mxCreateLogicalArray (mwSize ndims, const mwSize *dims) |
OCTINTERP_API mxArray * | mxCreateLogicalMatrix (mwSize m, mwSize n) |
OCTINTERP_API mxArray * | mxCreateLogicalScalar (mxLogical val) |
OCTINTERP_API mxArray * | mxCreateNumericArray (mwSize ndims, const mwSize *dims, mxClassID class_id, mxComplexity flag) |
OCTINTERP_API mxArray * | mxCreateNumericMatrix (mwSize m, mwSize n, mxClassID class_id, mxComplexity flag) |
OCTINTERP_API mxArray * | mxCreateSparse (mwSize m, mwSize n, mwSize nzmax, mxComplexity flag) |
OCTINTERP_API mxArray * | mxCreateSparseLogicalMatrix (mwSize m, mwSize n, mwSize nzmax) |
OCTINTERP_API mxArray * | mxCreateString (const char *str) |
OCTINTERP_API mxArray * | mxCreateStructArray (mwSize ndims, const mwSize *dims, int num_keys, const char **keys) |
OCTINTERP_API mxArray * | mxCreateStructMatrix (mwSize rows, mwSize cols, int num_keys, const char **keys) |
OCTINTERP_API mxArray * | mxDuplicateArray (const mxArray *v) |
OCTINTERP_API void | mxDestroyArray (mxArray *v) |
OCTINTERP_API int | mxIsCell (const mxArray *ptr) |
OCTINTERP_API int | mxIsChar (const mxArray *ptr) |
OCTINTERP_API int | mxIsClass (const mxArray *ptr, const char *name) |
OCTINTERP_API int | mxIsComplex (const mxArray *ptr) |
OCTINTERP_API int | mxIsDouble (const mxArray *ptr) |
OCTINTERP_API int | mxIsInt16 (const mxArray *ptr) |
OCTINTERP_API int | mxIsInt32 (const mxArray *ptr) |
OCTINTERP_API int | mxIsInt64 (const mxArray *ptr) |
OCTINTERP_API int | mxIsInt8 (const mxArray *ptr) |
OCTINTERP_API int | mxIsLogical (const mxArray *ptr) |
OCTINTERP_API int | mxIsNumeric (const mxArray *ptr) |
OCTINTERP_API int | mxIsSingle (const mxArray *ptr) |
OCTINTERP_API int | mxIsSparse (const mxArray *ptr) |
OCTINTERP_API int | mxIsStruct (const mxArray *ptr) |
OCTINTERP_API int | mxIsUint16 (const mxArray *ptr) |
OCTINTERP_API int | mxIsUint32 (const mxArray *ptr) |
OCTINTERP_API int | mxIsUint64 (const mxArray *ptr) |
OCTINTERP_API int | mxIsUint8 (const mxArray *ptr) |
OCTINTERP_API int | mxIsLogicalScalar (const mxArray *ptr) |
OCTINTERP_API int | mxIsLogicalScalarTrue (const mxArray *ptr) |
OCTINTERP_API int | mxIsEmpty (const mxArray *ptr) |
OCTINTERP_API int | mxIsFromGlobalWS (const mxArray *ptr) |
OCTINTERP_API size_t | mxGetM (const mxArray *ptr) |
OCTINTERP_API size_t | mxGetN (const mxArray *ptr) |
OCTINTERP_API mwSize * | mxGetDimensions (const mxArray *ptr) |
OCTINTERP_API mwSize | mxGetNumberOfDimensions (const mxArray *ptr) |
OCTINTERP_API size_t | mxGetNumberOfElements (const mxArray *ptr) |
OCTINTERP_API void | mxSetM (mxArray *ptr, mwSize M) |
OCTINTERP_API void | mxSetN (mxArray *ptr, mwSize N) |
OCTINTERP_API void | mxSetDimensions (mxArray *ptr, mwSize *dims, mwSize ndims) |
OCTINTERP_API double * | mxGetPi (const mxArray *ptr) |
OCTINTERP_API double * | mxGetPr (const mxArray *ptr) |
OCTINTERP_API double | mxGetScalar (const mxArray *ptr) |
OCTINTERP_API mxChar * | mxGetChars (const mxArray *ptr) |
OCTINTERP_API mxLogical * | mxGetLogicals (const mxArray *ptr) |
OCTINTERP_API void * | mxGetData (const mxArray *ptr) |
OCTINTERP_API void * | mxGetImagData (const mxArray *ptr) |
OCTINTERP_API void | mxSetPr (mxArray *ptr, double *pr) |
OCTINTERP_API void | mxSetPi (mxArray *ptr, double *pi) |
OCTINTERP_API void | mxSetData (mxArray *ptr, void *data) |
OCTINTERP_API void | mxSetImagData (mxArray *ptr, void *pi) |
OCTINTERP_API mxClassID | mxGetClassID (const mxArray *ptr) |
OCTINTERP_API const char * | mxGetClassName (const mxArray *ptr) |
OCTINTERP_API void | mxSetClassName (mxArray *ptr, const char *name) |
OCTINTERP_API mxArray * | mxGetCell (const mxArray *ptr, mwIndex idx) |
OCTINTERP_API void | mxSetCell (mxArray *ptr, mwIndex idx, mxArray *val) |
OCTINTERP_API mwIndex * | mxGetIr (const mxArray *ptr) |
OCTINTERP_API mwIndex * | mxGetJc (const mxArray *ptr) |
OCTINTERP_API mwSize | mxGetNzmax (const mxArray *ptr) |
OCTINTERP_API void | mxSetIr (mxArray *ptr, mwIndex *ir) |
OCTINTERP_API void | mxSetJc (mxArray *ptr, mwIndex *jc) |
OCTINTERP_API void | mxSetNzmax (mxArray *ptr, mwSize nzmax) |
OCTINTERP_API int | mxAddField (mxArray *ptr, const char *key) |
OCTINTERP_API void | mxRemoveField (mxArray *ptr, int key_num) |
OCTINTERP_API mxArray * | mxGetField (const mxArray *ptr, mwIndex index, const char *key) |
OCTINTERP_API mxArray * | mxGetFieldByNumber (const mxArray *ptr, mwIndex index, int key_num) |
OCTINTERP_API void | mxSetField (mxArray *ptr, mwIndex index, const char *key, mxArray *val) |
OCTINTERP_API void | mxSetFieldByNumber (mxArray *ptr, mwIndex index, int key_num, mxArray *val) |
OCTINTERP_API int | mxGetNumberOfFields (const mxArray *ptr) |
OCTINTERP_API const char * | mxGetFieldNameByNumber (const mxArray *ptr, int key_num) |
OCTINTERP_API int | mxGetFieldNumber (const mxArray *ptr, const char *key) |
OCTINTERP_API int | mxGetString (const mxArray *ptr, char *buf, mwSize buflen) |
OCTINTERP_API char * | mxArrayToString (const mxArray *ptr) |
OCTINTERP_API mwIndex | mxCalcSingleSubscript (const mxArray *ptr, mwSize nsubs, mwIndex *subs) |
OCTINTERP_API size_t | mxGetElementSize (const mxArray *ptr) |
#define MEXPROTO_H |
#define MXARRAY_TYPEDEFS_ONLY |
#define mxAssert | ( | expr, | |||
msg | ) |
#define mxAssertS | ( | expr, | |||
msg | ) |
#define OCTINTERP_API |
OCTINTERP_API int mexAtExit | ( | void(*)(void) | f | ) |
OCTINTERP_API int mexCallMATLAB | ( | int | nargout, | |
mxArray * | argout[], | |||
int | nargin, | |||
mxArray * | argin[], | |||
const char * | fname | |||
) |
OCTINTERP_API void mexErrMsgTxt | ( | const char * | s | ) |
OCTINTERP_API const char* mexFunctionName | ( | void | ) |
OCTINTERP_API int mexIsLocked | ( | void | ) |
OCTINTERP_API void mexLock | ( | void | ) |
OCTINTERP_API void mexMakeArrayPersistent | ( | mxArray * | ptr | ) |
OCTINTERP_API void mexMakeMemoryPersistent | ( | void * | ptr | ) |
OCTINTERP_API void mexPrintf | ( | const char * | fmt, | |
... | ||||
) |
OCTINTERP_API void mexSetTrapFlag | ( | int | flag | ) |
OCTINTERP_API void mexUnlock | ( | void | ) |
OCTINTERP_API void mexWarnMsgTxt | ( | const char * | s | ) |
OCTINTERP_API void* mxCalloc | ( | size_t | n, | |
size_t | size | |||
) |
OCTINTERP_API mxArray* mxCreateDoubleMatrix | ( | mwSize | nr, | |
mwSize | nc, | |||
mxComplexity | flag | |||
) |
OCTINTERP_API mxArray* mxCreateNumericArray | ( | mwSize | ndims, | |
const mwSize * | dims, | |||
mxClassID | class_id, | |||
mxComplexity | flag | |||
) |
OCTINTERP_API mxArray* mxCreateNumericMatrix | ( | mwSize | m, | |
mwSize | n, | |||
mxClassID | class_id, | |||
mxComplexity | flag | |||
) |
OCTINTERP_API mxArray* mxCreateSparse | ( | mwSize | m, | |
mwSize | n, | |||
mwSize | nzmax, | |||
mxComplexity | flag | |||
) |
OCTINTERP_API mxArray* mxCreateStructArray | ( | mwSize | ndims, | |
const mwSize * | dims, | |||
int | num_keys, | |||
const char ** | keys | |||
) |
OCTINTERP_API mxArray* mxCreateStructMatrix | ( | mwSize | rows, | |
mwSize | cols, | |||
int | num_keys, | |||
const char ** | keys | |||
) |
OCTINTERP_API void mxDestroyArray | ( | mxArray * | v | ) |
OCTINTERP_API void mxFree | ( | void * | ptr | ) |
OCTINTERP_API double mxGetEps | ( | void | ) |
OCTINTERP_API double mxGetInf | ( | void | ) |
OCTINTERP_API double mxGetNaN | ( | void | ) |
OCTINTERP_API void* mxMalloc | ( | size_t | n | ) |
OCTINTERP_API void* mxRealloc | ( | void * | ptr, | |
size_t | size | |||
) |
OCTINTERP_API void mxSetData | ( | mxArray * | ptr, | |
void * | data | |||
) |
OCTINTERP_API void mxSetImagData | ( | mxArray * | ptr, | |
void * | pi | |||
) |