checkClass inspects the specified Java, Matlab (MCOS), .NET or COM (ActiveX) object reference or class-name, and reports its superclass(es), interfaces, new/modified methods, sub-classes, properties, events, enumerations and annotations.
This utility complements the more detailed UIINSPECT utility (see link below) by being Command-Prompt based and also by highlighting the object components that were modified in the inspected class compared to its parent superclass.
checkClass(..., level) % default level=inf
% Java objects/classes
jButton = javax.swing.JButton('Click me!');
jButton.checkClass; % or: checkClass(jButton)
% Matlab (MCOS)
Bugs and suggestions:
Please send to Yair Altman (altmany at gmail dot com)
Yair Altman (2021). checkClass - inspect a Java/Matlab/COM class object/name (https://www.mathworks.com/matlabcentral/fileexchange/26947-checkclass-inspect-a-java-matlab-com-class-object-name), MATLAB Central File Exchange. Retrieved .
Thanks now the new version is available. This tool is very useful and much better than the methodsview function provided by Matlab. Very useful for analyzing Matlab classes especially if you have a class hierarchy.
@Martin - I just updated the download file
The download able version is only 1.19 and identical to that version. Please check the actual version.
Fun tool for investigating MATLAB internals.
Inspired: convert objects to string
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!