Info
This question is closed. Reopen it to edit or answer.
How to do for loop in m-function using SIMULINK
1 view (last 30 days)
Show older comments
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
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/148080/image.png)
Please help.
1 Comment
Answers (0)
This question is closed.
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!