Index Value within the For Each block in Simulink.

조회 수: 1 (최근 30일)
Goksan ISIL
Goksan ISIL 2019년 4월 4일
편집: madhan ravi 2019년 4월 4일
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
Goksan ISIL
Goksan ISIL 2019년 4월 4일
It is not completely blank because its a pretty fundamental question and not specific to my model. Its a basic feature question for Simulink.
But here is the interpretation of the words:
Untitled.png
madhan ravi
madhan ravi 2019년 4월 4일
편집: madhan ravi 2019년 4월 4일
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.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Simulink에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by