Repeating sequence as an input to a stateflow chart from Simulink, the first value is not read and calculated
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
I used a repeating sequence as an input to a stateflow chart from Simulink, but it did not take the first value and calculate in the state. Anyone encounter similar issue?
1 Kommentar
Fangjun Jiang
am 19 Feb. 2021
sounds abnormal. You need to show the model or example. lots of possible causes.
Antworten (2)
SaiDileep Kola
am 25 Feb. 2021
Use the process described here to detect common modeling errors explained here
0 Kommentare
Jonas
am 25 Feb. 2021
Bearbeitet: Jonas
am 25 Feb. 2021
Add breakpoints in you Stateflow model, and then step each and every cycle to analyse the value of the input ports and the state of the stateflow.
Remember that it takes one time step to make a transition, and it can take another time step to execute the state itself. Depends on if you have 'en:', 'du:' and 'ex:' commands inside your state code.
0 Kommentare
Siehe auch
Kategorien
Mehr zu Complex Logic finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!