Info

この質問は閉じられています。 編集または回答するには再度開いてください。

How to implement loop in simulink

1 回表示 (過去 30 日間)
omarahmed.m
omarahmed.m 2016 年 3 月 6 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
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?

回答 (1 件)

Prasanna Venkateshan
Prasanna Venkateshan 2020 年 7 月 7 日
編集済み: Prasanna Venkateshan 2020 年 7 月 7 日
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