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

Antworten (1)

TAB
TAB am 9 Apr. 2015

0 Stimmen

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 Kommentar

sudheer ratnala
sudheer ratnala am 12 Apr. 2015
i didn't get your answer, can u explain through a small example please

Diese Frage ist geschlossen.

Gefragt:

am 9 Apr. 2015

Geschlossen:

am 20 Aug. 2021

Community Treasure Hunt

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

Start Hunting!

Translated by