about "MATLAB function" block in simulink

does this "MATLAB function" block allows to use branching instruction like "if , for, while"
Thanks for any help i got

回答 (1 件)

TAB
TAB 2015 年 4 月 9 日

0 投票

Matlab function block support native Matlab code function. Only thing is, all Matlab functions are not supported for code generation.
Try using branching instruction yourself . It will work.

1 件のコメント

sudheer ratnala
sudheer ratnala 2015 年 4 月 12 日
i didn't get your answer, can u explain through a small example please

この質問は閉じられています。

質問済み:

2015 年 4 月 9 日

閉鎖済み:

2021 年 8 月 20 日

Community Treasure Hunt

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

Start Hunting!

Translated by