Is there a way to store large number of transition conditions in a Simulink block?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Rashmi Bharadwaja
am 16 Jun. 2017
Kommentiert: Rashmi Bharadwaja
am 11 Jul. 2017
Hello all,
Could anybody suggest a way to store a large number of transition conditions in a Simulink block (or file)? I have a stateflow chart with large number of transition conditions at every state. I want to improve the readability and simplicity of my state chart.
Thanks in advance!
Cheers, Rashmi
0 Kommentare
Akzeptierte Antwort
Ankita Nargundkar
am 21 Jun. 2017
If your transition conditions looks something like [condition1 && condition2 && ..... conditionN] , you can place a MATLAB function block in the chart that evaluates all of those conditions and returns true or false. That function could then be called as the transition condition, simplifying the syntax greatly.
2 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Simulink Functions 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!