Products & Services Solutions Academia Support User Community Company

Learn more about MATLAB   

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 Completing Statements in the Command Window — Tab Completion for more information.

Editing Objects with the Variable Editor

You can use the MATLAB Variable Editor to edit object properties. To open an object in the Variable 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 Viewing and Editing Workspace Variables with the Variable Editor for more information.

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

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