# addgateway

Adds dynamically builtin at runtime.

## Syntax

* addgateway(dyn\_lib\_path)

## Input argument

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

## Description

addgateway(dyn\_lib\_path) adds dynamically builtin at runtime.

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

If gateway was already loaded, no error or warning will be raised.

## Example

Add gateway for string module:

```matlab
addgateway(modulepath('time', 'builtin'))
```

## See also

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

## History

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

## Author

Allan CORNET
