주요 콘텐츠

Box

R2026b

Box that delineates areas of Stateflow chart

Description

A box organizes objects such as functions and states in a Stateflow® chart. Use a box to encapsulate states and functions in a separate namespace.

To add a box to a chart:

  1. In the Stateflow Editor, in the object palette, click the Box icon The box object palette icon..

  2. Click a location in the chart canvas to place the box.

  3. Type a name for the box.

Properties

expand all

To edit graphical object properties interactively, right-click the object and select Properties.

To modify box properties programmatically, use Stateflow.Box objects.

General

Name of the box in the chart hierarchy. This property is read-only. Click the hyperlink to navigate to the box in the Stateflow Editor. To change the name, edit the label on the chart canvas.

Label for the box, specified as a character vector. The label appears inside the box in the Stateflow Editor and defines the actions associated with the box.

Version History

Introduced before R2006a