Products & Services Solutions Academia Support User Community Company

Learn more about Stateflow   

Resolving Event, Data, and Function Symbols in Stateflow Action Language

Resolving Symbols

To check for unresolved symbol errors, you can use of these methods:

Each method triggers parsing of the Stateflow machine (see Parsing Stateflow Charts). During parsing, if your chart does not resolve some of its symbols, the following process determines whether to report errors for the unresolved symbols or to continue generating code.

For information about Simulink symbol resolution, see Resolving Symbols and Hierarchical Symbol Resolution in the Simulink documentation.

Symbol Autocreation Wizard

You can use the Symbol Autocreation Wizard to add missing data and events to your Stateflow charts. When you start simulation or update the model diagram, the Wizard detects references to undefined data and events and presents a list of the recommended data or events that you must define.

To accept, reject, or change a recommended item, do one of these steps:

After you finish editing the symbol definitions, click Create to add the symbols to the Stateflow hierarchy.

  


Related Products & Applications

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS