MATLAB Answers

How to implement loop in simulink

1 view (last 30 days)
omarahmed.m
omarahmed.m on 6 Mar 2016
I wrote a code on matlab using for loop command. i want to implement the same code on simulink, so how can i implement the for loop in simulink, note that inside the for loop there are many operations like filtering, additions, FFT, IFFT and multiplications, so how can the simulink do these operations many times as i want? can anyone help?

  0 Comments

Sign in to comment.

Answers (1)

Prasanna Venkateshan
Prasanna Venkateshan on 7 Jul 2020
Edited: Prasanna Venkateshan on 7 Jul 2020
You can use these methods to implement loop in simulink: Iterator and you can matlab function block to use your matlab code: MATLABFunction

  0 Comments

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!