gatewayinfo
Returns information about an gateway.
📝Syntax
[gateway_name, builtin_list] = gatewayinfo(dyn_lib_path)
[gateway_name, builtin_list, state] = gatewayinfo(dyn_lib_path)
📥Input Arguments
Parameter Description
dyn_lib_path a string: path of a dynamic library prepared for Nelson.
📤Output Arguments
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
📄Description

[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.

💡Examples
[gateway_name, builtin_list, state] = gatewayinfo(modulepath('time', 'builtin'))
🔗See Also
addgatewayremovegateway
🕔Version History
Version Description
1.0.0 initial version
Edit this page on GitHub