GETUNDOC('OBJECT') or GETUNDOC(H) returns a structure of undocumented properties (names & values) for the object having handle H or identified by the string 'OBJECT'.
GETUNDOC(H,true) returns the undocumented properties of H, while skipping the following standard undocumented properties: ALimInclude, ApplicationData, Behavior, CLimInclude, HelpTopicKey, IncludeRenderer, PixelBounds, Serializable, XLimInclude, YLimInclude, ZLimInclude
For example, GETUNDOC('axes') or GETUNDOC(gca) returns undocumented property names and values for the axes object.
Full technical description: http://UndocumentedMatlab.com/blog/getundoc-get-undocumented-object-properties/
This is an extension of Duane Hanselman's original utility from 2006 (which is no longer available on the File Exchange).
removed internal HG2 mirror properties from the returned list
added support for any Matlab class object (not just handle classes); added onCleanup function
Support for any Matlab handle class, not just those deriving hgsetget
added support for user classes deriving hgsetget
enabled optional input parameter to skip standard undocumented props
added support for handle() references; added support all the way back to Matlab 6.0 (R12)
Removed the Aerospace Blockset from the list of requirements - it got in there by mistake...
added public fields (Java & MCOS)
Compatibility fix for HG2
Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.