File Exchange

image thumbnail

getundoc - get undocumented object properties

version (37 KB) by Yair Altman
GETUNDOC returns a structure of undocumented properties (names & values) for the specified object


Updated 10 Mar 2016

View License

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:

This is an extension of Duane Hanselman's original utility from 2006 (which is no longer available on the File Exchange).

Cite As

Yair Altman (2020). getundoc - get undocumented object properties (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (4)

Adam Danz

Very useful! Thanks, Yair.

Yair Altman

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

Robert Cumming

excellent - but why the tag needs Aerospace toolset?

Aurelien Queffurust

Excellent and easy to use .


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

MATLAB Release Compatibility
Created with R2006a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags