Stateflow Design Patterns: Schedulers and Flow Charts