View License

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

» Watch video

Highlights from
checkClass - inspect a Java/Matlab class object/name

5.0 | 2 ratings Rate this file 6 Downloads (last 30 days) File Size: 19.5 KB File ID: #26947 Version: 1.19
image thumbnail

checkClass - inspect a Java/Matlab class object/name


Yair Altman (view profile)


14 Mar 2010 (Updated )

checks a Java/MCOS object or classname and displays its methods, enumerations & interfaces

| Watch this File

File Information

checkClass inspects the specified Java or Matlab (MCOS) object reference or class-name, and reports its superclass(es), new/modified methods, interfaces, enumerations, sub-classes 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


    jButton=javax.swing.JButton('Click me!');



Technical description:

Bugs and suggestions:
    Please send to Yair Altman (altmany at gmail dot com)


Uiinspect Display Methods, Properties & Callbacks Of An Object inspired this file.

This file inspired Convert Objects To String.

MATLAB release MATLAB 7.6 (R2008a)
MATLAB Search Path
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (2)
15 Sep 2014 Ariel Vaknin

12 Jun 2014 Jonathan

Fun tool for investigating MATLAB internals.

15 Mar 2010 1.1

displayed static field values; fixed minor bug; displayed missing/extra constructors

07 May 2010 1.2

linked to checkClass (not uiinspect); fixed some edge cases; displayed superclass for non-Matlab classes; displayed class modifiers

02 Jan 2011 1.4

fixed problem when directly specifying requested superclass level; fixed static fields value display; fixed minor bug with non-derived class

31 May 2011 1.5

enabled checking Matlab-wrapped (javahandle_withcallbacks) handles; displayed function return values & qualifiers; fixed dot-notation internal classes; fixed a few edge-case bugs; added hyperlinks to user-generated subclasses (myclass$subclass)

14 Jan 2013 1.6

fixed edge case

12 Jan 2015 1.7

handle missing/string input; handle MCOS objects

14 Jul 2015 1.19

fixed java annotations

Contact us