signature
版本 1.0.0.0 (2.8 KB) 作者:
Peter Cotton
Parse function argument names from an mfile or anonymous function handle
Returns a listing of function argument names
ARGSOUT = SIGNATURE.ARGOUT(FUN) returns a list of output arguments in the mfile corresponding to FUN
ARGSIN = SIGNATURE.ARGIN(FUN) returns a list of input arguments in the mfile corresponding to FUN
The latter also works for anonymous functions. For example:
signature.argin(@(x,y,z) z+y+x)
ans =
'x' 'y' 'z'
引用格式
Peter Cotton (2024). signature (https://www.mathworks.com/matlabcentral/fileexchange/28489-signature), MATLAB Central File Exchange. 检索来源 .
MATLAB 版本兼容性
创建方式
R2010a
兼容任何版本
平台兼容性
Windows macOS Linux类别
在 Help Center 和 MATLAB Answers 中查找有关 Argument Definitions 的更多信息
标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.0.0.0 |