To create a loop in SIMULINK

1 view (last 30 days)
I have a curve, which i plotted using clock block for 10s, now i need to have a simulation for 8760hrs but i don't want to change the shape of that curve, so i'd need a loop for that. How to accomplish this, please help?

Accepted Answer

Fangjun Jiang
Fangjun Jiang on 27 Jun 2011
There is a "For Iterator Subsystem" block to do for-loop in Simulink. But your task doesn't sound like it. You might want to consider the "Repeating Sequence" block from Simulink>Source library.
  1 Comment
Kavish Chaurasia
Kavish Chaurasia on 29 Jun 2011
Thanks a lot Mr.Fangjun but its not serving my purpose, let me explain you what I really want to achieve.
Actually i have a model of coal power plant which has some turbine performance curve, which shall remain same at any point of time, and i made plotted it using clock block, at the same time I'm also having a solar input of steam to this turbine which i have a data for a whole year i.e.,8760hrs. so how am I supposed to merge those two inputs, one from steam generated from coal and other is steam generated from the solar power plant? Please help. If you don't understand my query then please ask me to elaborate the point.

Sign in to comment.

More Answers (0)

Products

Community Treasure Hunt

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

Start Hunting!