Use C Chart to Model Event-Driven System

Before you start building a chart, you identify system attributes by answering these questions:

  1. What are your interfaces?

    1. What are the event triggers to which your system reacts?

    2. What are the inputs to your system?

    3. What are the outputs from your system?

  2. Does your system have any operating modes?

    1. If the answer is yes, what are the operating modes?

    2. Between which modes can you transition? Are there any operating modes that can run in parallel?

    If your system has no operating modes, the system is stateless. If your system has operating modes, the system is modal.

After identifying your system attributes, you can follow a basic workflow for building Stateflow® charts to model event-driven systems:

Was this topic helpful?