#include "engine.h"
mxArray *engGetVariable(Engine *ep, const char *name);
| Parameter | Description |
|---|---|
| Engine *ep | handle to Nelson engine. |
| const char *name | name of mxArray in the Nelson workspace (base scope). |
| Parameter | Description |
|---|---|
| mxArray * | Pointer to an allocated mxArray structure. Do not forget to free. |
Copy variable from Nelson engine workspace.
The limit for the size of data transferred is 2048 MB.
edit([modulepath('mex', 'tests'), '/test_engine.c'])
| Version | Description |
|---|---|
| 1.0.0 | initial version |