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 Kommentar

Nitesh
Nitesh am 16 Aug. 2015
Any type of help will be appreciated.
Thank you

Antworten (0)

Diese Frage ist geschlossen.

Produkte

Gefragt:

am 15 Aug. 2015

Geschlossen:

am 20 Aug. 2021

Community Treasure Hunt

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

Start Hunting!

Translated by