engOpen
Start Nelson process
📝Syntax
#include "engine.h"
Engine *engOpen(const char *startcmd);
📥Input Arguments
Parameter Description
startcmd Nelson startup command (NULL).
📤Output Arguments
Parameter Description
Engine handle to Nelson engine or NULL.
📄Description

engOpen starts a Nelson process for using Nelson as a computational engine.

Libraries path need to contain nelson path to find Nelson's libraries at runtime.

Set the value to the path returned by the following Nelson command:

res = modulepath('nelson', 'builtin')

on linux: export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:res

export PATH=$PATH:res

on macos: export DYLIB_LIBRARY_PATH=$DYLIB_LIBRARY_PATH:res

export PATH=$PATH:res

on windows: set PATH=%PATH%;res

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