Returns the signature (info on inputs, outputs) of a function, or a method/property of an object. This is helful when doing object-oriented programming, as it seems that Matlab has no default functionality for doing this in OOP.
Examples:
sig handle.fi % returns info on all methods of handle class starting
% with fi.
x=sym('x'); % Create a symbolic object (from symbolic math toolbox)
sig x.ez % Get info on all methods starting with "ez"
sig x % Return the (large) list of all properties and methods
% associated with the "sym" class.
Cite As
Peter O'Connor (2026). sig (https://www.mathworks.com/matlabcentral/fileexchange/35402-sig), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Programming > Functions > Argument Definitions >
- MATLAB > Programming > Classes > Construct and Work with Object Arrays >
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
