Documentation Center

  • Trial Software
  • Product Updates

Factory-Defined Property Values

MATLAB® 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,

You can get the factory value of an individual property with


For example:

Was this topic helpful?