Stateflow User's Guide Previous page   Next Page
Stateflow.Box

Constructor for creating a box

Syntax

Description

The Stateflow.Box method is a constructor method for creating boxes in a parent chart, state, box, or function, that returns a handle to an Event object for the new function.

Arguments

parent
Handle to an object for the parent chart, state, box, or function of the new box

Returns

box_new
Handle to the Box object for the new box

Example

If sA is a handle to a State object for an existing state A, the following command creates a new box parented (contained by) state A:

The new box is unnamed and appears in the upper left-hand corner inside state A. box_new is a handle to a Box object for the new box.


Previous page  stateflow Stateflow.Data Next page

© 1994-2005 The MathWorks, Inc.