# macroargs

Returns variables names of a function.

## 📝 Syntax

* \[argOut, argIn] = macroarg(function\_name)

## 📥 Input argument

* function\_name - a string: function name.

## 📤 Output argument

* argOut - a cell with output arguments.
* argIn - a cell with input arguments.

## 📄 Description

macroargs returns input and output variables used by the function.

## 💡 Example

```matlab
[out_args, in_args] = macroarg('getfield')
[out_args, in_args] = macroarg('deal')
```

## 🔗 See also

[which](https://nelson-9.gitbook.io/nelson/markdown/en/functions_manager/which).

## 🕔 History

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