Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

How to implement loop in simulink

1 vue (au cours des 30 derniers jours)
omarahmed.m
omarahmed.m le 6 Mar 2016
Clôturé : MATLAB Answer Bot le 20 Août 2021
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?

Réponses (1)

Prasanna Venkateshan
Prasanna Venkateshan le 7 Juil 2020
Modifié(e) : Prasanna Venkateshan le 7 Juil 2020
You can use these methods to implement loop in simulink: Iterator and you can matlab function block to use your matlab code: MATLABFunction

Community Treasure Hunt

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

Start Hunting!

Translated by