What are stateflow control flow cycles?

1 visualizzazione (ultimi 30 giorni)
Maria Radecki
Maria Radecki il 3 Ott 2019
The Simulink Code Inspector checks list that in stateflow "Graphical function must not contain control flow cycles.".
What are "control flow cycles"?
Does this include state self loops?

Risposte (1)

Naveen Shanmuganantham
Naveen Shanmuganantham il 16 Dic 2020
It is my understanding that you need to know about the control flow cycles in Stateflow.
Stateflow control flow cycles are like the control flow charts having feedbacks loops and sometimes it runs indefinitely if the transition conditions are not defined properly (resulting in infinite recursion).
There are a lot of control flow cycle checks which can be found in the following documentation link:

Categorie

Scopri di più su Complex Logic in Help Center e File Exchange

Prodotti


Release

R2019a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by