Desktop Tools Are Object Aware

Tab Completion Works with Objects

MATLAB® tab completion works with objects. For example, if you enter an object name followed by a dot:

tsobj.

and then press the tab key, MATLAB pops up a selection box with a list of properties and methods:

The more letters you complete after the dot, the more specific is the list. See Tab Completion for more information.

Editing Objects with the Variables Editor

You can use the MATLAB Variables Editor to edit object properties. To open an object in the Variables Editor, you can double-click the object name in the Workspace browser or use the openvar command:

tsobj = timeseries(rand(10,1),.01:.01:.1,'Name','Data1');
openvar tsobj

See View, Edit, and Copy Variables for more information.

Was this topic helpful?