Definition in file cmex.c.
Go to the source code of this file.
Defines | |
| #define | _MAIN_C |
| #define | MATLABDATETIME(X) ((double)(X)/TS_SECOND/86400 + 719529) |
| #define | MAXNAME 256 |
Enumerations | |
| enum | MEXHANDLETYPE { MH_GLOBAL = 0x19c3, MH_OBJECT = 0x82a3, MH_CLASS = 0x5d37, MH_MODULE = 0xb40f } |
Functions | |
| void | cmex_create (int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[]) |
| Create an object. | |
| void | cmex_get (int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[]) |
| Get a value (object, clock, or global). | |
| void | cmex_getenv (int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[]) |
| Get an environment variable. | |
| void | cmex_global (int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[]) |
| Define a new global variable. | |
| void | cmex_list (int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[]) |
| Get a list of entities. | |
| void | cmex_load (int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[]) |
| Import an GLM or XML model. | |
| void | cmex_module (int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[]) |
| Force a module to be loaded immediately (modules are loaded automatically). | |
| void | cmex_object_list (int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[]) |
| void | cmex_set (int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[]) |
| Set a value. | |
| void | cmex_setenv (int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[]) |
| Set an environment variable. | |
| void | cmex_start (int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[]) |
| Start the GridLAB-D simulation executive. | |
| void | cmex_version (int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[]) |
| Get the version of GridLAB-D CMEX running. | |
| void | mexFunction (int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[]) |