How to do for loop in m-function using SIMULINK

I want to do iteration loop in the m-function script using p-type ILC method update.
How can i implement for loop for 20 times and store in the Xd,i+1(t) which is the next state, e is the error signal and xd,i(t) is the present state. Eq is given below
Please help.

1 个评论

Any type of help will be appreciated.
Thank you

回答(0 个)

此问题已关闭。

提问:

2015-8-15

关闭:

2021-8-20

Community Treasure Hunt

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

Start Hunting!

Translated by