signature

バージョン 1.0.0.0 (2.83 KB) 作成者: Peter Cotton
Parse function argument names from an mfile or anonymous function handle
ダウンロード: 495
更新 2010/8/16

ライセンスの表示

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 (2025). signature (https://www.mathworks.com/matlabcentral/fileexchange/28489-signature), MATLAB Central File Exchange. に取得済み.

MATLAB リリースの互換性
作成: R2010a
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersArgument Definitions についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
バージョン 公開済み リリース ノート
1.0.0.0