engPutVariable
Put variable into Nelson engine workspace
📝Syntax
#include "engine.h"
int engPutVariable(Engine *ep, const char *name, const mxArray *pm);
📥Input Arguments
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.
📤Output Arguments
Parameter Description
int 0 if successful or 1 if an error occurs.
📄Description

Put variable into Nelson engine workspace.

💡Examples
edit([modulepath('mex', 'tests'), '/test_engine.c'])
🔗See Also
mexengGetVariable
🕔Version History
Version Description
1.0.0 initial version
Edit this page on GitHub