# gatewayinfo

Returns information about an gateway.

## Syntax

* \[gateway\_name, builtin\_list] = gatewayinfo(dyn\_lib\_path)

## Input argument

* dyn\_lib\_path - a string: path of a dynamic library prepared for Nelson.

## Output argument

* gateway\_name - a string: gateway name
* builtin\_list - a cell of strings: list of builtin in this gateway

## Description

\[gateway\_name, builtin\_list] = gatewayinfo(dyn\_lib\_path) get information about an gateway.

The dynamic library must have at least an C entry point GetGatewayInfo.

If file does not exist an error is raised.

## Example

```matlab
[gateway_name, builtin_list] = gatewayinfo(modulepath('time', 'builtin'))
```

## See also

[addgateway](https://github.com/Nelson-numerical-software/nelson-gitbook/blob/master/en/modules_manager/addgateway.html), [removegateway](https://github.com/Nelson-numerical-software/nelson-gitbook/blob/master/en/modules_manager/removegateway.html).

## History

| Version | Description     |
| ------- | --------------- |
| 1.0.0   | initial version |

## Author

Allan CORNET
