which(function_name)
p = which(function_name)
c = which(function_name, '-all')
m = which(function_name, '-module')
| Parameter | Description |
|---|---|
| function_name | a string: function name. |
| Parameter | Description |
|---|---|
| p | a string: path of the function or built-in |
| c | a cell of strings: paths of the function or built-in. |
| m | a cell of strings: name of the modules where function or built-in is available. |
which returns the path of a function or a built-in.
which('cos')
p = which('cos')
c = which('cos', '-all')
m = which('cos', '-module')
| Version | Description |
|---|---|
| 1.0.0 | initial version |