#include "engine.h"
Engine *engOpen(const char *startcmd);
| Parameter | Description |
|---|---|
| startcmd | Nelson startup command (NULL). |
| Parameter | Description |
|---|---|
| Engine | handle to Nelson engine or NULL. |
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
edit([modulepath('mex', 'tests'), '/test_engine.c'])
| Version | Description |
|---|---|
| 1.0.0 | initial version |