Factory-Defined Property Values

MATLAB software defines values for all properties, which are used if you do not specify values as arguments or as defaults. You can obtain a list of all factory-defined values with the statement

a = get(0,'Factory');

get returns a structure array whose field names are the object type and property name concatenated, and field values are the factory value for the indicated object and property. For example, this field,

UimenuSelectionHighlight: 'on'

indicates that the factory value for the SelectionHighlight property on uimenu objects is on.

You can get the factory value of an individual property with

get(0,'FactoryObjectTypePropertyName')

For example:

get(0,'FactoryTextFontName')
  


 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS