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

Constructor for creating a note

Syntax

Description

The Stateflow.Note method is a constructor method for creating notes for a parent chart, state, box, or function, that returns a handle to the Note object for the new note.

Arguments

parent
Handle to the object for the parent chart, or subchart for the new note

Returns

note_new
Handle to the Note object for the newly created note

Example

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

The new note is placed in the upper left-hand corner of state A in the diagram editor, but is invisible because it has no text content. note_new is a handle to the Note object for the new note, that you use to set its text content with a command like the following:


Previous page  Stateflow.Junction Stateflow.State Next page

© 1994-2005 The MathWorks, Inc.