For Iterator Block Not present in Library , Any Idea ?

1 view (last 30 days)
There is For Iterator Subsystem block as per the given link
and There is a For Iterator block as per the below link present in the "Ports and Subsystems" Library block
I could find the For Iterator Subsystem block but not able to find the For iterator block in the "Ports and Subsystems" Library block
nor after a search in the complete Simulink Library , is the only place where "For iterator block" can be found is inside "For Iterator Subsystem"
or there is something wrong with the Matlab installation.
This is the screen shot of the blocks present in my installation of "Ports and Subsystems" Library block
Capture.JPG

Accepted Answer

Fangjun Jiang
Fangjun Jiang on 22 Mar 2019
I looked and my library is the same as yours. The "For Iterator" block can't be used alone anyway so I don't think this is an issue.
  2 Comments
ANKUR WADHWA
ANKUR WADHWA on 22 Mar 2019
I completely agree with you Fangjun , yet my question is .. Is there a way to include the "For Iterator block" in any other subsystem apart from the "For Iterator Subsystem" (as its present inside it by default).
Further i didn't understand if there is no such block present in the Simulink library , why matlab provided wrong information about the block as mentioned in the link that i shared in the main post , they could have instead mentioned that this is not an independent block and comes by default as part of "For Iterator Subsystem".
ANKUR WADHWA
ANKUR WADHWA on 22 Mar 2019
@Fangjun : If possible can you please look in this too.. Thanks in advance.
https://in.mathworks.com/matlabcentral/answers/451179-for-loop-iterator-not-working-as-expected?s_tid=prof_contriblnk

Sign in to comment.

More Answers (0)

Categories

Find more on Simulink Functions in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!