#include "engine.h"
int engPutVariable(Engine *ep, const char *name, const mxArray *pm);
| Parameter | Description |
|---|---|
| Engine *ep | handle to Nelson engine. |
| const char *name | name of mxArray in the Nelson workspace (base scope). |
| const mxArray *pm | Pointer to mxArray. |
| Parameter | Description |
|---|---|
| int | 0 if successful or 1 if an error occurs. |
Put variable into Nelson engine workspace.
edit([modulepath('mex', 'tests'), '/test_engine.c'])
| Version | Description |
|---|---|
| 1.0.0 | initial version |