Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

How to implement loop in simulink

1 Ansicht (letzte 30 Tage)
omarahmed.m
omarahmed.m am 6 Mär. 2016
Geschlossen: MATLAB Answer Bot am 20 Aug. 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?

Antworten (1)

Prasanna Venkateshan
Prasanna Venkateshan am 7 Jul. 2020
Bearbeitet: Prasanna Venkateshan am 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

Community Treasure Hunt

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

Start Hunting!

Translated by