Stateflow User's Guide Previous page   Next Page

Truth Table Properties

Stateflow API objects of type Function have the properties listed in the table below. See also Truth Table Methods.

Property
Type
Access
Description
ActionTable
Cell Array
RW
A cell array of strings containing the contents of the Action Table for this truth table.
ArrowSize
Double
RW
Size of transition arrows coming into the truth table function in the Stateflow diagram (default = 8). Equivalent to selecting Arrowhead Size from the context menu for this function.
BadIntersection
Boolean
RO
If true, this truth table graphically intersects a state, box, graphical function, or other truth table.
Chart
Chart
RO
Chart object containing this truth table.
ConditionTable
Cell Array
RW
A cell array of strings containing the contents of the Condition Table for this truth table, including the Actions row.
Description
String
RW
Description of this truth table (default = ''). Equivalent to entering a description in the Description field of the properties dialog for this truth table.
Document
String
RW
Document link to this truth table. Equivalent to entering the Document Link field of the properties dialog for this truth table.
FontSize
Double
RW
Size of the (default = 12) font of the label text for this truth table. This property overrides the font size set for this truth table at creation by the StateFont.Size property of the containing Chart's object. Equivalent to selecting Font Size > font size in the context menu for this truth table.
Id
Integer
RO
Unique identifier assigned to this truth table to distinguish it from other objects in the model.
LabelString
String
RW
Full label for this truth table (default = '()') including its return, name, and arguments. Equivalent to typing the label for this truth table in its label text field in the diagram editor.
Machine
Machine
RO
Machine that contains this truth table.
Name
String
RW
Name of this truth table (default = ''). Equivalent to typing a name for this truth table into the label text field of the truth table box in the diagram editor. Label syntax is return = Name (arguments).
OverSpecDiagnostic
String
RW
Interprets the error diagnosis of this truth table as overspecified according to the possible values 'Error', 'Warning', or 'None'. In the truth table editor, the value of this property is assigned by selecting Overspecified from the Diagnostics menu item and then selecting one of the three values.
Position
Rect
RW
Position and size of this truth table's box in the Stateflow chart, given in the form of a 1-by-4 array (default is [0 0 90 60]) consisting of the following:
  • (x,y) coordinates for the box's left upper vertex relative to the upper left vertex of the Stateflow diagram editor workspace
  • Width and height of the box
Subviewer
Chart or State
RO
State or chart in which this truth table can be graphically viewed.
Tag
Any Type
RW
Holds data of any type (default = []) for this truth table.
UnderSpecDiagnostic
String
RW
Interprets the error diagnosis of this truth table as underspecified according to the possible values 'Error', 'Warning', or 'None'. In the truth table editor, the value of this property is assigned by selecting Underspecified from the Diagnostics menu item and then selecting one of the three values.


Previous page  Graphical Function Methods Truth Table Methods Next page

© 1994-2005 The MathWorks, Inc.