[gateway_name, builtin_list] = gatewayinfo(dyn_lib_path)
[gateway_name, builtin_list, state] = gatewayinfo(dyn_lib_path)
| Parameter | Description |
|---|---|
| dyn_lib_path | a string: path of a dynamic library prepared for Nelson. |
| Parameter | Description |
|---|---|
| gateway_name | a string: gateway name |
| builtin_list | a cell of strings: list of builtin in this gateway |
| state | a string: current gateway state, loaded, lazy or not_loaded |
[gateway_name, builtin_list] = gatewayinfo(dyn_lib_path) get information about an gateway.
The dynamic library must have a C entry point named GetGatewayDescriptor.
The optional third output reports whether the gateway is currently loaded, registered lazily, or not registered.
Descriptor metadata can be reused from the unique cache file prefdir()/gateway_cache.json; the cache entry is rebuilt automatically when the dynamic library changes.
If file does not exist an error is raised.
[gateway_name, builtin_list, state] = gatewayinfo(modulepath('time', 'builtin'))
| Version | Description |
|---|---|
| 1.0.0 | initial version |