view

Make object visible for editing

Syntax

thisObject.view

Description

The view method opens the Stateflow® object in its appropriate editing environment as follows:

  • For Chart objects, the view method opens the chart, if it is not already open, and brings it to the foreground.

  • For State, Box, Function, Annotation, Junction, and Transition objects, the view method does the following:

    1. Opens the chart containing the object if it is not already open.

    2. Highlights the object.

    3. Zooms the object's editor window to the level of full expanse of the object's containing state or chart.

    4. Brings the editor window for this object to the foreground.

  • For Atomic Subchart and Atomic Box objects, the view method shows the contents of the object.

  • For Truth Table objects, the view method opens the Truth Table Editor for this truth table.

  • For MATLAB® Function objects, the view method opens the editor for this function.

  • For Simulink® Function objects, the view method shows the contents of the function-call subsystem.

  • For Event and Data objects, the view method opens the Model Explorer.

Arguments

thisObject

Object for which to display editing environment.

Returns

None

Introduced before R2006a