Code covered by the BSD License  

Highlights from
getundoc - get undocumented object properties

5.0

5.0 | 2 ratings Rate this file 38 Downloads (last 30 days) File Size: 3.12 KB File ID: #32934
image thumbnail

getundoc - get undocumented object properties

by

 

17 Sep 2011 (Updated )

GETUNDOC returns a structure of undocumented properties (names & values) for the specified object

| Watch this File

File Information
Description

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).

Acknowledgements

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

Required Products MATLAB
MATLAB release MATLAB 7.2 (R2006a)
Other requirements Compatible with Matlab 6.0 (R12) all the way to Matlab R2013b and beyond
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (3)
21 Jan 2012 Yair Altman

Robert - you are correct: there is no need for the aerospace blockset - it got in there by some mistake

20 Jan 2012 Robert Cumming

excellent - but why the tag needs Aerospace toolset?

23 Sep 2011 Aurelien Queffurust

Excellent and easy to use .

Updates
19 Sep 2011

Compatibility fix for HG2

20 Jan 2012

added public fields (Java & MCOS)

21 Jan 2012

Removed the Aerospace Blockset from the list of requirements - it got in there by mistake...

06 Jun 2012

added support for handle() references; added support all the way back to Matlab 6.0 (R12)

06 Jul 2012

enabled optional input parameter to skip standard undocumented props

14 Jan 2013

added support for user classes deriving hgsetget

01 Jul 2013

Support for any Matlab handle class, not just those deriving hgsetget

25 Oct 2013

added support for any Matlab class object (not just handle classes); added onCleanup function

Contact us