metafunction
- :
obj =metafunction(identifier)¶ - :
obj =metafunction(identifier,¶"Arguments", vals) - :
obj =metafunction(identifier,¶"ArgumentTypes", types) Create metadata describing a function or method (MATLAB R2026a).
Returns a
matlab.metadata.Functionfor function names, ormatlab.metadata.MethodforClass/methodidentifiers.Decision (MATLAB R2026a, verified on this host):
- Non-text first argument errors with
MATLAB:function_metadata:IdentifierOrNameNotScalarText. - Unknown names raise a not-found error (message
'name' not found.). - Built-ins report
FullPathas"built-in"and aCallSignaturewhose inputs/outputs are repeatingvarargin/varargoutwhen argument blocks are absent. Arguments/ArgumentTypesare accepted for API parity; overload resolution beyondwhichis best-effort.
- Non-text first argument errors with