File Exchange

image thumbnail

sig

version 1.2 (3.25 KB) by

method signatures for OOP

1 Download

Updated

View License

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.

Comments and Ratings (0)

Updates

1.2

now returns function signatures too. YOU GUYS, MATLAB, SHOULD ALREADY HAVE THIS!

1.1

works now on R2010

MATLAB Release
MATLAB 7.10 (R2010a)

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video