Stateflow User's Guide Previous page   

Index


abs
C library function in Stateflow action language
calling in action language
accessing existing objects (API)
with the find method
acos in action language
action language
array arguments
assignment operations
binary operations
bit operations
comment symbols %,//,/*
condition statements
data and event arguments
defined
directed event broadcasting
event broadcasting
floating-point number precision
hexadecimal notation
infinity symbol inf
keyword identifiers
line continuation symbol
literal code symbol $
MATLAB display symbol ;
pointer and address operations
semicolon symbol
single-precision floating point symbol F in action language
special symbols
temporal logic
time symbol t
types of
unary operations
actions
assigning to decisions in truth table
binding function call subsystem
defined
during
entry
entry for state
exit
modifying output data
on event_name
states
tracking rows in truth tables
unary
See also condition actions
See also transition actions
activation order for parallel (AND) states
active chart execution 7--6
active states
display in debugger
execution 7--22
exiting 7--23
adding connective junctions
adding superstates
addition (+) of fixed-point data
addition operator (+)
after temporal logic operator
animation controls in debugger
animation of Stateflow diagrams during simulation
API
See Stateflow API
Append symbol names with parent names coder option
arguments
array arguments in action language
Array property of data
arrays
and custom code
indexing
arrowhead size of transitions
asin in action language
assignment operations
fixed-point data <1> <2>
at temporal logic operator
atan in action language
atan2 in action language

Back To button in diagram editor
BadIntersection property (API)
before temporal logic operator
behavioral properties and methods (API)
bias (B) in fixed-point data
binary operations
fixed-point data
binary point in fixed-point data
binding function call subsystem
to state
binding function call subsystem event
example
muxed events
subsystem sampling times
bit operations
bitwise & (AND) operator
block
See also Stateflow block
bowing transitions
Box object (API)
description
methods
properties
boxes
creating
definition
grouping
Break button on debugger
breakpoints
chart entry
display in debugger
event broadcast
functions
overview
setting in debugger
state entry
states
transitions
broadcasting directed events
examples using send keyword
send function 7--85
with qualified event names 7--87
broadcasting events
in condition actions 7--40
in truth tables
Browse Data display in debugger
build method (API) 6
building targets <1> <2>
options for custom target
starting

C code
generating from Stateflow
C functions
library
user-written
C++ code
Call Stack display in debugger
calling a graphical function example
cast operation
and type operator
cast operator
ceil in action language
change indicator (*) in title bar
change(data_name) keyword
chart notes
See notes (chart)
chart libraries
Chart object (API)
accessing
create new objects in
methods
open
properties
charts
checking for errors
creating
decomposition
editing <1> <2>
executing active charts 7--6
executing inactive charts 7--6
how they execute 7--6
printing
properties
saving model
setting properties for in Explorer
update method
update methods for defining interface
See also subcharts
classhandle method (API) 7
Clipboard object (API)
connecting to
copying
description
methods
code generation
error messages
Code Generation Directory option
code generation files
.dll files
code files
make files
colors in diagram editor
command line debugger
command line debugger commands
commands for command line debugger
comment symbols %,//,/* in action language
comments (chart)
See notes (chart)
Comments in generated code coder option
Compact nested if-else using logical AND/OR operators coder option
comparison operators
(>, <, >=, <=, ==, -=, !=, <>)
compilation error messages
CompiledSize property
CompiledType property
typing data
using CompiledType property
compiler
for target
condition actions
and transition actions 7--39
event broadcasts in 7--81
examples 7--37
in for loops 7--40
simple, example of 7--37
to broadcast events 7--40
with cyclic behavior to avoid 7--41
condition coverage
definition
Embedded MATLAB functions <1> <2>
example
truth tables
conditional notation for temporal logic operators
conditions
adding to transitions
for transitions, defined
for transitions, guidelines
in function
outcomes for in truth tables
configuring
custom target
rtw target
simulation target
conflicting names in custom code
conflicting transitions
definition
detecting
example
connecting to
Clipboard object (API)
Editor object (API)
Stateflow objects (API)
connective junctions
adding
backtracking transition segments to source 7--69
common events example
common source example
creating <1> <2>
definition
described
examples of 7--58
flow diagrams 7--63
for loop
if-then-else decision 7--59
in flow diagrams
in for loops 7--62
in self-loop transitions
self-loop transitions 7--61
transitions based on common event 7--68
transitions from a common source 7--65
transitions from multiple sources 7--67
with default transitions 7--44
constructor for Stateflow objects (API)
containment of Stateflow objects
Contains word option in Search & Replace tool
context (shortcut) menu to properties
context-sensitive constants in fixed-point data
Continue button on debugger
continuous update method
continuous update method for Stateflow block
converting a state to a subchart
copy method (API) 8
features and limitations
copying objects (API)
by grouping (recommended)
copy method
Data, Event, and Target objects
individual objects
overview
using the Clipboard object
copying objects in the diagram editor
copying Stateflow objects
corners of states
cos in action language
cosh in action language
create (API)
handle to Stateflow objects (API)
new model and chart (API)
new objects in chart (API)
new state (API)
object containment
Stateflow objects (API)
transition (API)
Creation Date property of machines
Creator property of machines
custom code
building into target <1> <2>
building into targets
calling graphical functions
conflicting names
including C++ code
integrating with diagram
path names
Custom code included at the top of generated code option
Custom include directory paths option
Custom initialization code option
Custom source files option
custom target
configuring
custom targets
code generation options
Custom termination code option
cutting objects in diagram editor
cyclic behavior
debugging
definition
example
example of nondetection
in condition actions 7--41
noncyclic behavior flagged as cyclic example
cyclomatic complexity
in model coverage reports

dashed transitions
data
adding (creating)
adding output data to Stateflow block
adding sensor data
copying/moving in Explorer
defined
deleting
dictionary
displaying logged data values
exported
exporting to external code
fixed-point <1> <2>
imported
importing from external code
inheriting size
input from other blocks
logging values to MATLAB workspace
monitor values with command line debugger
monitoring with floating scope
operations in action language
output data
properties of
range violations
renaming
sending output data to Simulink
setting properties for in Explorer
sizing
sizing by expression
temporary data
types
typing
using in Stateflow
viewing
See also fixed-point data <1> <2>
data and events
data dictionary
adding data
adding events
defined
data input from Simulink port order
Data object (API)
methods
properties
data output to Simulink port order
data range violations (debugging)
data types
boolean
double
fixpt
inheritance
inherited
int16
int32
int8
ml
single
uint16
uint32
uint8
data typing
with other data
data values during simulation <1> <2>
Debugger
monitoring data values during simulation
debugger
action control buttons
active states display
animation controls
Break button
breakpoints
breakpoints display
browse data display
call stack display
clear output display
Continue button
debugging run-time errors
display controls
main window
setting global breakpoints
Start button
status display area
Step button
Stop Simulation button
user interface
Debugger breakpoint property
charts
Debugger messages
debugging
breakpoints in Embedded MATLAB function
conflicting transitions
cyclic behavior
data range violations
display variable values in Embedded MATLAB function
displaying Embedded MATLAB function variables in MATLAB
Embedded MATLAB function
Embedded MATLAB functions
error checking options
model coverage
state inconsistency
stepping through Embedded MATLAB function
truth table during simulation
debugging window during simulation
decision coverage
chart as a triggered block
chart containing substates
conditional transitions
Embedded MATLAB functions <1> <2>
example
in model coverage reports
state with on event_name statement
superstates containing substates
truth tables
decision outcomes for truth tables
tracking action rows feature
decisions
assigning actions in truth table
decomposition
described
parallel
states and charts
substates
default decision outcome for truth tables
concept
default transitions
and exclusive (OR) decomposition 7--43
and history junctions 7--45
creating
creating in API
defined
examples <1> <2>
labeled 7--47
labeling
to a junction 7--44
defaultTransitions method (API) 9
delete method (API) 10, 12 <1> <2>
example
deleting events in Model Explorer
deleting Stateflow objects
deployment properties and methods (API)
Description property
data
events
functions
junctions <1> <2>
states
transitions
Description property for charts
Description property of machines
Destination property of transitions
destroying Stateflow objects (API)
deterministic
definition
diagram
opening Stateflow diagram
diagram (Stateflow)
graphical components
objects
diagram editor
copying objects
cutting and pasting objects
drawing area
elements
menu bar
selecting and deselecting objects
specifying colors and fonts
status bar
title bar
toolbar
undoing and redoing operations
zooming
dialog method (API) 11
directed event broadcasting
examples 7--85
send function
examples
semantics 7--85
using qualified event names 7--87
with qualified names
discrete update method
disp method (API) 12
display controls in debugger
displaying
enumerated values for properties (API)
properties and methods (API) <1> <2>
subproperties (API)
division (/) of fixed-point data
division operator (/)
.dll files
Document Link property
charts
data
events
junctions <1> <2>
states
transitions
Document Link property for functions
Document Link property of machines
dot (.) notation (API)
nesting
drawing
states
transitions
drawing area
in diagram editor
during action
example

E (binary point) in fixed-point data
early return logic for event broadcasts 7--26
Echo expressions without semicolons coder option
Edit property of Search & Replace tool
editing
charts
labels in diagram editor
truth tables
Editor object (API)
connecting to
description
graphical changes
methods (API)
properties
Editor property for charts
either edge trigger
Embedded MATLAB Editor
introduction
Embedded MATLAB functions
argument and return values
breakpoints in function
calling from Stateflow
calling MATLAB functions
calling other functions
checking for errors
condition coverage <1> <2>
creating
debugging
debugging function for
decision coverage <1> <2>
description
display variable value
displaying variable values in MATLAB
example
example model
function library
implicitly declared variables
introduction to
MCDC coverage <1> <2>
model coverage
model coverage example
model coverage report
Model Explorer
persistent variables
programming
signature
simulation example
stepping through function
subfunctions
types of model coverage
Enable C-bit operations property
for charts
operations affected
Enable C-like bit operations property of machines
Enable debugging/animation coder option
Enable overflow detection (with debugging) coder option
entry action
example <1> <2>
entry actions for state
error
redfinition or redeclaration
error checking
charts
in Embedded MATLAB functions
overspecified truth tables
underspecified truth tables
when it occurs for truth tables
error messages
code generation
compilation
overview
parsing
target building
errors
data range
debugging run-time errors
detect cycles
reporting Stateflow diagram errors
state inconsistency
transition conflict
event actions
in a superstate 7--71
event broadcasting
early return logic 7--26
examples
state action notation
transition action notation
in condition actions 7--81
in parallel state action 7--73
nested in transition actions 7--77
See also directed event broadcasting
event input from Simulink
port order
trigger
event notation for temporal logic operators
Event object (API)
methods
properties
event output to Simulink port order
event triggers
defining
function call example
function call output event
function call semantics
events
adding (creating)
adding sensor event
adding trigger event to diagram
and transitions from substate to substate 7--35
broadcast in condition actions 7--40
broadcasting
causing transitions 7--32
copying/moving in Explorer
defined
defining edge-triggered output events
deleting
executing 7--3
exported
exporting events example
exporting to external code
function call output event to Simulink
guarding transitions
how Stateflow processes them 7--4
implicit event example
imported
imported event example
importing from external code
multiple trigger events for chart
processing with inner transition to junction 7--53
processing with inner transitions in exclusive (OR) states 7--49
properties
renaming
rising edge trigger event example
sending multiple trigger events
sending trigger event to Stateflow block
setting properties for in Explorer
sources for 7--3
Stateflow reaction to
trigger events during simulation
triggering Simulink blocks with
viewing
See also directed event broadcasting
See also implicit events
See also input events
See also output events
every temporal logic operator
examples of Stateflow applications
exclusive (OR) decomposition
and default transitions 7--43
exclusive (OR) states
defined
transitions
transitions to and from 7--31
exclusive (OR) substates
transitions
exclusive (OR) superstates
transitions
exclusive states
Execute (enter) Chart at Initialization property for charts
exit action
example <1> <2>
exp in action language
Explore property of Search & Replace tool
Explorer
object hierarchy list
opening
operations
overview
targets
user interface
Export Chart Level Graphical Functions property for charts
exporting data to external code
description
example
exporting events to external code
example
exporting graphical functions
external code sources
defining interface for
definition

F (fractional slope) in fixed-point data
fabs in action language
falling edge trigger
Field types field of Search & Replace tool
final action in truth tables
find method (API) 13
how to use
find method (API)
examples
Finder
dialog box
user interface
finite state machine
described
introduction
references
representations
First Index (of array) property of data
fixed-point data <1> <2>
arithmetic
bias B
context-sensitive constants
defined
example of using
how to use
implementation in Stateflow
offline conversions
online conversions
operation (+, -, *, /) equations
operations supported
overflow detection
properties
quantized integer, Q
Scaling property <1> <2>
setting for Strong Data Typing with Simulink IO
sharing with Simulink
slope S
specifying in Stateflow
Stored Integer property <1> <2>
Type property
fixed-point operations
assignment
casting
logical (&, &&, |, ||)
promotions
special assignment
and context-sensitive constants
division example
multiplication example
floating scope
select signals
floating scope monitor of data and states
floating-point numbers
precision in action language
floor in action language
flow diagrams
connective junctions in
cyclic behavior example
example
examples
for loops
if example
if-else example
in graphical functions
while example
with connective junctions 7--63
flow graphs
order of execution 7--8
types 7--7
fmod in action language
font size of labels
fonts in diagram editor
for loops
example
with condition actions 7--40
with connective junctions 7--62
Forward To button in diagram editor
function call events
example output event semantics
output event
output event example
function call subsystem
binding trigger event
mixing bound and muxed events
sampling times with bind action
function notation for API methods
Function object (API)
description
methods
properties
functions
adding graphical function example
calling a graphical function example
calling functions from Embedded MATLAB functions
data and event arguments
Description property
Document Link property
Embedded MATLAB function example
Embedded MATLAB run-time library
Function Inline Option property
inlining
Label property
MATLAB
Name property
Parent property
setting breakpoints
truth table function
See also graphical functions

generate method (API) 16
generated C code
generated code files
generating code
for custom targets
for Real-Time Workshop targets
for simulation targets
Stateflow Coder
get method (API) 17
examples <1> <2>
getting and setting properties of objects
getCodeFlag method (API) 18
graphical functions
adding
calling example
calling from action language
calling from custom code
compared with truth tables
creating
example
exporting
properties
realizing truth tables
signature (label)
graphical objects
copying
cutting and pasting
graphical properties and methods (API)
grouping
boxes
states

help method (API) 19
example <1> <2>
hexadecimal notation in action language
hierarchy
described
of objects
of states
state example
transition example
history junctions
and default transitions 7--45
and inner transitions
creating <1> <2>
defined
definition
example of use
inner transitions to <1> <2>
simulation example

iced model during simulation
if flow diagram example
if-else flow diagram example
if-then-else decision
examples <1> <2>
with connective junctions 7--59
implicit event example
implicit events
definition
example
referencing in action language
importing data from external code <1> <2>
example
importing events from external code
example
in function in conditions
inactive chart execution 7--6
inactive states
Index property for events
infinity symbol inf in action language
inherited update method
inherited update method for Stateflow block
inheriting data size
CompiledSize property
inheriting data type
initial action in truth tables
Initialize from property of data
inlining functions
Function Inline Option property
inner transitions
after using them
before using them
definition
examples <1> <2>
processing events in exclusive (OR) states 7--49
to a history junction 7--56
to a junction, processing events with 7--53
to history junction
innerTransitions method (API) 20
input data from other blocks
input events
associating with control signals
defining
installation
optional software
prerequisite software
required software
integer word size
setting for target
interfaces
to external code <1> <2>
to MATLAB data
typical tasks to define
update methods for Stateflow block
interfaces to MATLAB
data
workspace
interfaces to Simulink
continuous Stateflow block
defining
edge-triggered output event
function call output event
implementing
inherited Stateflow block
sampled Stateflow block
triggered Stateflow block
introduction to Stateflow

junction behavior example
Junction object (API)
properties
junctions
choosing destinations
in flow diagrams
properties <1> <2>
size <1> <2>
See also connective junctions
See also history junctions

keyboard shortcuts
in diagram editor
moving in a zoomed diagram
opening subcharts
zooming
keywords
change(data_name)
during
entry
entry(state_name)
exit
exit(state_name)
in(state_name)
ml()
ml.
on event_name action
send
summary list
tick
wakeup
knowledge level required for readers

Label property
functions
states
transitions
labeling transitions
moving labels
labels
default transitions <1> <2>
editing in diagram editor
field
font size
format for transition segments 7--58
format for transitions 7--31, <1> <2>
graphical function signature
multiline labels using API
state example
states <1> <2>
transition
transitions
labs in action language
laptop computer with Stateflow
ldexp in action language
left bit shift (<<) operator
Limit Range property of data
line continuation symbol ... in action language
listing
enumerated values for properties (API)
properties and methods (API) <1> <2>
subproperties (API)
literal code symbol $ in action language
log in action language
log10 in action language
logging data
displaying values
logging data values to MATLAB workspace
logging state activity
displaying state activity
logging state activity to MATLAB workspace
logical AND operator (&)

M code
Embedded MATLAB function example
machine
adding targets to
overview of Stateflow machine
setting properties
Machine object (API)
accessing
description
methods
properties
make files
make method (API) 21
Match case
field of Search & Replace tool
search option of Search & Replace tool
Match options field of Search & Replace tool
Match whole word option in Search & Replace tool
MATLAB
API scripts
functions and data in Stateflow
in Embedded MATLAB functions
ml() and full MATLAB notation
ml() function call
ml. namespace operator
See also interfaces to MATLAB
See also interfaces to MATLAB workspace
MATLAB display symbol ; in action language
max in action language
Max property of data
MCDC coverage
definition
Embedded MATLAB functions <1> <2>
example
explanation
irrelevant conditions
specifying
truth tables
menu bar
in diagram editor
messages
error messages
of Search & Replace tool
messages in Debugger
methods (API)
description of
displaying <1> <2>
function notation
naming
nesting
of Box object
of Chart object
of Clipboard object
of Data object
of Editor object
of Event object
of Function object
of Machine object
of Note object
of State object
of Transition object
of Truth Table object <1> <2>
methods method (API) 22
example <1> <2>
min in action language
Min property of data
Minimize array reads using temporary variables coder option
ml data type
and targets
inferring size
place holder for workspace data
scope
ml() function
and full MATLAB notation
dynamically construct workspace variables
expressions
inferring return size
or ml. namespace operator, which to use?
ml. namespace operator
expressions
inferring return size
or ml() function, which to use?
model
creating in Simulink
iced during simulation
saving
model coverage
chart as subsystem report section
colored stateflow diagram example
colored stateflow diagrams
condition coverage
coverages for truth table function
cyclomatic complexity
decision coverage
definition
for Embedded MATLAB functions
for Stateflow charts
for truth tables
generate HTML report
MCDC coverage
report
report for truth table example
reporting on
specifying reports
truth tables
model coverage report
chart as superstate section
state sections
Summary
transition section
Model Explorer
adding data
adding events
deleting events
Embedded MATLAB functions
object icons
modes of control
Modified property of machines
modulus operator (%%)
monitoring data values
in the Debugger
monitoring data values during simulation <1> <2>
monitoring data values with command line debugger
monitoring data values with floating scope
monitoring state activity with floating scope
moving transition source point example
multiplication (*) of fixed-point data
multiplication operator (*)

Name property
charts
data
events
functions
states <1> <2>
namespaces in parallel states
naming of properties and methods (API)
nongraphical objects (data, events, targets)
nonsmart transitions
asymmetric distortion
graphical behavior
notation
defined
introduction to Stateflow notation
representing hierarchy
Note object (API)
methods
properties (API)
notes (chart)
changing color
changing font
creating
deleting
editing existing notes
moving
TeX format

object palette
in Stateflow diagram editor
Object types field of Search & Replace tool
objects
hierarchy
overview of Stateflow objects
See also graphical objects
See also nongraphical objects
objects (API)
copying
getting and setting properties
offline conversions with fixed-point data
on event_name action
example <1> <2>
online conversions with and fixed-point data
operations
assignment
binary
bit
defined for fixed-point data
enable C-bit operations
exceptions to undo
fixed-point data
in action language
pointer and address
type cast
unary
undo and redo
with objects in Explorer
operators
addition (+)
bitwise AND (&)
bitwise OR (|)
bitwise XOR (^)
comparison (>, <, >=, <=, ==, -=, !=, <>)
division (/)
explicit type cast cast operator
explicit typing with cast
left bit shift (<<)
logical AND (&&)
logical AND (&)
logical OR (|)
logical OR (||)
MATLAB type cast
modulus (%%)
multiplication (*)
pointer and address
power (^)
right bit shift (>>)
subtraction (-)
type
optional software
Real-Time Workshop
Simulink Report Generator
Stateflow Coder
ordering transitions example
outerTransitions method (API) 23
output data
adding to Stateflow block
modifying with actions
sending to Simulink
output events
associating with output port
defining
Output State Activity property of states
outputData method (API) 24
overflow detection
fixed-point data
overlapping object edges
overspecified truth tables

parallel (AND) states
activation order
decomposition
defined
entry execution 7--20
event broadcast action 7--73
examples of 7--73
order of execution 7--20
parallel decomposition
parallel states
priority numbers
simulation example
parallel states example
Parent property
charts
data
events
functions
junctions <1> <2>
states
transitions
parse method (API) 26
parsing diagrams
error messages
example
overview
starting the parser
tasks
parsing Stateflow diagram for errors
passing arguments by reference
C functions
passing arguments by reference
pasteTo method (API) 27
pasting objects in the diagram editor
path names for custom code
physical plant control example 44
pointer and address operations
Port property
data
events
ports
order of inputs and outputs
pow in action language
Preserve case
field of Search & Replace tool
search type in Search & Replace tool
Preserve symbol names coder option
printing
book report of elements
charts
current diagram
details of chart
diagram
priority numbers in parallel states
programming
Embedded MATLAB functions
promotion rules for fixed-point operations
properties
machine
of transitions
of truth tables
Search & Replace tool
states
properties (API)
description of
displaying <1> <2>
displaying enumerated values for
displaying subproperties
getting and setting
naming
nesting
of Box object
of Chart object
of Data object
of Editor object
of Event object
of Function object
of Junction object
of Machine object
of Note object
of State object
of Target object
of Transition object
of Truth Table object <1> <2>
properties and methods (API)
behavioral
deployment
graphical
structural
utility and convenience
Properties property of Search & Replace tool

quantized integer (Q) in fixed-point data
Quick Start
Stateflow API

rand in action language
range violations, data
Real-Time Workshop
Real-Time Workshop targets
rebuildAll method (API) 28
Recognize if-elseif-else in nested if-else statements coder option
redo operation
references
regenerateAll method (API) 29
regular expressions
Search & Replace tool
Stateflow Finder
tokens in Search & Replace tool
relational operations
fixed-point data
renaming Stateflow objects
renaming targets
Replace button of Search & Replace tool
replace buttons in Search & Replace tool
Replace constant expressions by a single constant coder option
Replace with field of Search & Replace tool
replacing text in Search & Replace tool
with case preservation
with tokens
reports
book report of elements
charts
details of chart
model coverage
model coverage for Embedded MATLAB functions
model coverage for Stateflow charts
reserved names in custom code
resolving symbols in action language
return size of ml expressions
right bit shift (>>) operator
rising edge trigger
rising edge trigger example
Root object (API)
access
description
rtw target
configuring
rtw target
starting the build
run-time errors
debugging

Sample Time property for charts
sampled update method for Stateflow block
Save final value to base workspace property of data
saving
Simulink model (API)
saving Simulink model
Scaling property of fixed-point data <1> <2>
Scope property
data
events
script of API commands
Search & Replace tool
containing object
Contains word option
Custom Code field
Description field
Document Links field
Field types field
icon of found object
Match case field
Match case option
Match options field
Match whole word option
messages
Name field
object types
Object types field
opening
portal area
Preserve case field
Preserve case option
Regular expression option in Search & Replace tool
regular expression tokens
Replace All button
Replace All in This Object button
Replace button <1> <2>
Replace with field
replacement text
Search button <1> <2>
Search For field
Search in field
search order
search scope
search types
view area
View Area field
viewer
viewing a match
Search button of Search & Replace tool
Search for field of Search & Replace tool
Search in field of Search & Replace tool
search order in Search & Replace tool
search scope in Search & Replace tool
searching
chart
Finder user interface
machine
specific objects
text
text matches
selecting and deselecting objects in the diagram editor
self-loop transitions
creating
delay
with connective junctions 7--61
with junctions
semantics
defined
definition
early return logic for event broadcasts 7--26
examples 7--29
executing a chart 7--6
executing a state 7--20
executing a transition 7--7
executing an event 7--3
send function
and directed event broadcasting
directed event broadcasting 7--85
directed event broadcasting examples
set method (API) 30
setCodeFlag method (API) 31
sfclipboard method (API) 32
example
sfexit method (API) 33
sfhelp method (API) 34, 40 <1> <2>
sfnew function
sfnew method (API) 35
sfprint method (API) 36
sfsave method (API) 41, 42 <1> <2>
shortcut keys
in diagram editor
moving in a zoomed diagram
opening subcharts
zooming
shortcut menus
in Stateflow diagram editor
to properties
Show Portal property of Search & Replace tool
Signal Logging dialog
signal selection in floating scope
signature
graphical functions
simulating truth tables
simulation
debugging window
Embedded MATLAB function
event triggers
monitoring data values <1> <2>
monitoring data values in the Debugger
setting up for Stateflow diagrams
starting simulation of a Stateflow diagram
Stateflow animation
superstate example
simulation of a subchart example
simulation of parallel states example
simulation target
code generation options
configuring
starting the build
Simulink
and Stateflow
creating a model
sending output data to
See also interfaces to Simulink
Simulink model and Stateflow machine
relationship between
Simulink Model property of machines
Simulink Report Generator
Simulink Subsystem property for charts
../simulink/ref/#simulink.signal
sin in action language
single-precision floating-point symbol F
sinh in action language
Sizes (of array) property of data
sizing data
by expression
by inheritance
CompiledSize property
slits (in supertransitions)
slope (S) in fixed-point data
smart transitions
bowing symmetrically
graphical behavior
Source property of transitions
transitions
Source property
sourcedTransitions method (API) 44
sqrt in action language
Start button on debugger
starting simulation of a Stateflow diagram
starting the build
state entry actions
state inconsistency
debugging
definition
detecting
example
State object (API)
description
methods
properties
Stateflow
about
and Simulink
block in model
choosing destinations with junctions
controlling a physical plant example 44
defined
examples of applications
generated C code
installation prerequisites
on laptop computer
opening diagram
optional software <1> <2>
parsing diagram for errors
reacting to events
representations
Signal Logging dialog
using data
ways to use it
Web site
Stateflow API
Box object
Chart object (API), accessing
Clipboard object
common properties and methods
create new model and chart
Editor object (API)
Function object
Machine object
Machine object (API), access
methods of objects
naming and notation
object hierarchy
open chart
overview
properties of objects
Quick Start
references to properties and methods
Root object <1> <2>
State object
unique properties and methods
Stateflow blocks
considerations in choosing continuous update
continuous
continuous example
inherited
inherited example
sampled
sampled example
triggered
triggered example
update methods
Stateflow Coder for generating code
Stateflow diagram editor
object palette
shortcut menus
zoom control
stateflow function
stateflow method (API) 45
Stateflow.State method (API) 47, 48, 49, 50, 51, 52, 53, 54, 55, 57 <1> <2> <3> <4> <5> <6> <7> <8> <9> <10>
states
actions
active and inactive
active state execution 7--22
as control modes
button (drawing)
corners
create (API)
creating <1> <2>
debugger breakpoint property
decomposition <1> <2>
definition
displaying logged state activity
drawing
during action
editing
entry action <1> <2>
entry execution 7--20
exclusive (OR) decomposition
exclusive decomposition
execution example 7--23
exit action <1> <2>
exiting active states 7--23
grouping
hierarchy
how they are executed 7--20
label <1> <2>
label example
label notation
label property
label, multiline (API)
logging activity to MATLAB workspace
monitoring activity with floating scope
moving and resizing
Name property
Name, entering
on event_name action <1> <2>
output activity to Simulink
parallel (AND) decomposition notation
parallel decomposition
properties
setting properties for in Explorer
See also parallel states
status bar
in diagram editor
Step button on debugger
Stop Simulation button on debugger
Stored Integer property of fixed-point data
Strong Data Typing with Simulink IO setting
fixed-point data
struct method (API) 58
structural properties and methods (API)
subcharts
converting state to
creating <1> <2>
definition and description
editing contents
example
manipulating
navigating through hierarchy of
opening to edit contents
simulation example
unsubcharting
and supertransitions
subfunctions
in Embedded MATLAB functions
substates
creating
decomposition
subtraction (-) of fixed-point data
subtraction operator (-)
Summary of model coverage report
superstate simulation example
superstates
adding
event actions in 7--71
parallel states example
supertransitions
definition and description
drawing into a subchart
drawing out of a subchart
labeling
slits
working with in the API
Symbol Autocreation Wizard
symbols
comment symbols %,//,/* in action language
hexadecimal notation in action language
infinity symbol inf in action language
line continuation symbol ... in action language
literal code symbol $ in action language
MATLAB display symbol ; in action language
single-precision floating-point symbol F in action language
time symbol t in action language
symbols in action language

tan in action language
tanh in action language
target compiler
setting up
Target object (API)
properties
targets
adding to machine
build options for custom targets
building
building custom code into
building error messages
building procedure
building with custom code
configuration custom target
configuration rtw target
configuration simulation target
copying/moving in Explorer
custom code
deleting
generating code for custom target
generating code for Real-Time Workshop targets
generating code for simulation target
in Explorer
overview
Real-Time Workshop
renaming
setting integer word size for
setting properties for in Explorer
types of
See also custom targets
See also simulation targets
temporal logic events
temporal logic operators
after
at operator
before operator
event notation
every operator
rules for using
temporary data
text
replacing
searching
tick keyword
time symbol t in action language
title bar
in diagram editor
toolbar
in diagram editor
transition actions
and condition actions 7--39
event broadcasts nested in 7--77
notation
transition labels
condition
condition action
event
multiline (API)
transition action
Transition object (API)
labels, multiline
methods
properties
transition segments
backtracking to source 7--69
label format 7--58
transitions
adding conditions
adding trigger events
and exclusive (OR) states <1> <2>
and exclusive (OR) substates
and exclusive (OR) superstates
arrowhead size
based on events 7--32
bowing
breakpoints
changing active states
changing arrowhead size
condition
condition action <1> <2>
connection examples
create (API)
creating
dashed
debugging conflicting
default transitions (API)
defined
deleting
Description property
Destination property
Document Link property
drawing
events
flow graph types 7--7
from common source with connective junctions 7--65
from connective junctions based on common event 7--68
from multiple sources with connective junctions 7--67
guarding with events
hierarchy
label format
Label property
labeling
labels
action semantics 7--31
format
overview <1> <2>
moving
moving attach points
moving label
moving source point example
nonsmart
anchored connection points
notation
ordering by angular surface position 7--12
ordering by hierarchy 7--10
ordering by label 7--11
ordering example
overview
Parent property
properties <1> <2>
self-loop transitions
setting them smart
smart
connecting to junctions at 90 degree angles
sliding and maintaining shape
sliding around surfaces
snapping to an invisible grid
straight transitions
substate to substate with events 7--35
supertransitions in the API
transition action <1> <2>
transition testing order 7--10
valid
valid labels
when they are executed 7--7
See also default transitions
See also inner transitions
See also nonsmart transitions
See also self-loop transitions
See also smart transitions
trigger
event input from Simulink
trigger events
adding to Stateflow block
during simulation
for transitions
multiple for chart
rising edge example
sending multiple trigger
sending to Stateflow block
Trigger property
events
triggered update method for Stateflow block
Truth Table object (API)
methods <1> <2>
properties <1> <2>
truth tables
assigning actions to decisions
calling rules
compared with graphical functions
default decision
defined
editing
entering final actions
entering initial actions
how they are realized
how to interpret
model coverage
model coverage example report
model coverage for
overspecified
properties dialog
pseudocode example
row and column tooltips
seeing generated function for
simulation
underspecified
when generated
type cast operations
type cast operators
explicit cast operator
MATLAB form
type operator
using to type other data
typing data

with type operator 10-48 

Type property
data
fixed-point data
types
inheriting
types of data
typing data
with other data

unary actions
unary operations
fixed-point data
underspecified truth tables
undo operation
exceptions
Units property of data
Up To button in diagram editor
update method
continuous
discrete (sample time)
inherited
Update method property for charts
update methods for Stateflow block
Use chart names with no mangling coder option
Use Strong Data Typing with Simulink I/O property for charts
user-written code
and Stateflow arrays
C functions <1> <2>
utility and convenience properties and methods (API)

valid transitions
Version property of machines
View Area field of Search & Replace tool
view area of Search & Replace tool
view method (API) 59, 60 <1> <2>

wakeup keyword
Watch in debugger property of data
ways to use Stateflow
Web site for Stateflow
while flow diagram example
workspace
examining the MATLAB workspace
wormhole

zoom control
in Stateflow diagram editor
zoomIn and zoomOut methods (API) 61
zooming a diagram
overview
shortcut keys
using zoom factor selector

Previous page Glossary 

© 1994-2005 The MathWorks, Inc.