engGetVariable
Copy variable from Nelson engine workspace
📝Syntax
#include "engine.h"
mxArray *engGetVariable(Engine *ep, const char *name);
📥Input Arguments
Parameter Description
Engine *ep handle to Nelson engine.
const char *name name of mxArray in the Nelson workspace (base scope).
📤Output Arguments
Parameter Description
mxArray * Pointer to an allocated mxArray structure. Do not forget to free.
📄Description

Copy variable from Nelson engine workspace.

The limit for the size of data transferred is 2048 MB.

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