CSIM: csimmex.h Source File

csimmex.h

Go to the documentation of this file.
00001 
00004 #ifndef _CSIMMEX_H_
00005 #define _CSIMMEX_H_
00006 
00007 #include <mex.h>
00008 #include "globaldefinitions.h"
00009 
00010 int csimMexInit(int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[]);
00011 int csimMexCreate(int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[]);
00012 int csimMexSet(int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[]);
00013 int csimMexGet(int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[]);
00014 int csimMexConnect(int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[]);
00015 int csimMexReset(int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[]);
00016 int csimMexSimulate(int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[]);
00017 int csimMexExport(int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[]);
00018 int csimMexImport(int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[]);
00019 int csimMexDestroy(int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[]);
00020 int csimMexList(int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[]);
00021 void csimMexCleanUp(void);
00022 
00023 int getDouble(const mxArray *arg, double *x);
00024 int getDoubleArray(const mxArray *arg, double **x, int *m, int *n);
00025 int getDoubleVector(const mxArray *arg, double **x, int *n);
00026 int getUint32Vector(const mxArray *arg, uint32 **x, int *n);
00027 int getString(const mxArray *arg, char **str);
00028 
00029 class MexNetwork;
00030 extern MexNetwork *TheNetwork;
00031 
00032 extern int MAXINTEGER;
00033 
00034 #endif

 
(C) 2003, Thomas Natschläger last modified 07/10/2006