signature

Parse function argument names from an mfile or anonymous function handle

Al momento, stai seguendo questo contributo

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'

Cita come

Peter Cotton (2026). signature (https://it.mathworks.com/matlabcentral/fileexchange/28489-signature), MATLAB Central File Exchange. Recuperato .

Categorie

Scopri di più su Argument Definitions in Help Center e MATLAB Answers

Informazioni generali

Compatibilità della release di MATLAB

  • Compatibile con qualsiasi release

Compatibilità della piattaforma

  • Windows
  • macOS
  • Linux
Versione Pubblicato Note della release Action
1.0.0.0