<< dlgeneratecleaner | Dynamic link | dlgenerateloader >> |
dlgenerategateway(destinationdir, module_name, builtin_table) |
a string: destination directory where is generated the gateway file.
a string: module name exposed in Nelson.
a cell composed of cell with {name exposed in Nelson, nb output arguments, nb input arguments}
dlgenerategateway generates a C++ gateway used by addmodule.
See module skeleton for example
dlgenerategateway(tempdir(), 'module_skeleton', {{'cpp_sum', 1, 2}; {'cpp_sub', 2, 3}});
text = fileread([tempdir(), 'Gateway.cpp'])
Version | Description |
---|---|
1.0.0 | initial version |
Allan CORNET