engOpen
Start Nelson process
Syntax
#include "engine.h"
Engine *engOpen(const char *startcmd);
Input argument
startcmd - Nelson startup command (NULL).
Output argument
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
Example
See also
History
Version | Description |
---|---|
1.0.0 | initial version |
Author
Allan CORNET
Last updated