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