Known Software and Documentation Problems     Search    Help Desk 

Known Software Problems and Limitations

Cyclic Flow Graphs

Executing a cyclic flow graph can put Stateflow into an endless loop. To prevent this from happening, make sure that any cyclic flow graphs in your model contain an unconditional exit transition.

Output Event Triggers

Stateflow 2.0 no longer allows output event triggers to be Rising Edge or Falling Edge, because of problems in propagating successive single-edge triggers. When loading a model created by previous versions, Stateflow 2.0 issues a warning whenever it detects a single-edge ouput event trigger and converts the trigger to Either. To maintain the model's behavior, use the Stateflow Explorer to convert the trigger inputs that are connected to the outputs to Either.

Broadcasting Events Among Charts

Stateflow 2.0 no longer allows direct broadcast of events from one chart to another. Version 2.0 disallows direct broadcasting of interchart events to permit incremental code generation. If you need to broadcast an event from one chart to another, create a function-call output event in the source chart and a function-call input event in the target chart. Connect the corresponding ports on the source and target charts.



[ Previous | Help Desk | Next ]