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

Nitesh
Nitesh 2015년 8월 16일
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