Index Value within the For Each block in Simulink.
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Hi,
Is there a way to get the index value within the For Each block in Simulink.
Lets say that I have a 5x1 array of sub-busses and I use For Each block to operate on these 5 elements within the bus separately.
I would like to be able to execute a logic that is dependent on the order (index) of the element within the array of subbusses.
Thanks in advance
Göksan
3 Kommentare
madhan ravi
am 4 Apr. 2019
Bearbeitet: madhan ravi
am 4 Apr. 2019
There’s no need to be rude, not everything described is clear at the first , your asking a question because you don’t know how to implement it at the first place eventhough it’s a fundamental question.
Antworten (0)
Siehe auch
Kategorien
Mehr zu Simulink Functions finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!