Info

This question is closed. Reopen it to edit or answer.

about "MATLAB function" block in simulink

1 view (last 30 days)
sudheer ratnala
sudheer ratnala on 9 Apr 2015
Closed: MATLAB Answer Bot on 20 Aug 2021
does this "MATLAB function" block allows to use branching instruction like "if , for, while"
Thanks for any help i got

Answers (1)

TAB
TAB on 9 Apr 2015
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 Comment
sudheer ratnala
sudheer ratnala on 12 Apr 2015
i didn't get your answer, can u explain through a small example please

Community Treasure Hunt

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

Start Hunting!