# dlgenerategateway

Génère une gateway C++

## 📝 Syntaxe

* dlgenerategateway(destinationdir, module\_name, builtin\_table)

## 📥 Argument d'entrée

* destinationdir - a string: destination directory where is generated the gateway file.
* module\_name - a string: module name exposed in Nelson.
* builtin\_table - a cell composed of cell with {name exposed in Nelson, nb output arguments, nb input arguments}

## 📄 Description

dlgenerategateway génère une gateway C++ utilisée paraddmodule.

## 💡 Exemple

See module skeleton for example

```matlab
dlgenerategateway(tempdir(), 'module_skeleton', {{'cpp_sum', 1, 2}; {'cpp_sub', 2, 3}});
text = fileread([tempdir(), 'Gateway.cpp'])
```

## 🔗 Voir aussi

[addmodule](https://nelson-9.gitbook.io/Nelson/markdown/fr/modules_manager/addmodule).

## 🕔 Historique

| Version | 📄 Description   |
| ------- | ---------------- |
| 1.0.0   | version initiale |
