getundoc - get undocumented object properties

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 (2024). getundoc - get undocumented object properties (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2006a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Find more on Line Plots in Help Center and MATLAB Answers
Tags Add Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes

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