I'm developing one simulink model for an algorithm which uses the IF condition. Its in some form as follows:
if(u1>u2 && u3<4)
{some action}
elseif(u1<u2 || u1+u2>u3)
{some action}
end
How can I deal with this kind of situation in Simulink?

답변 (2개)

Azzi Abdelmalek
Azzi Abdelmalek 2016년 7월 15일

0 개 추천

There are many solutions depending on your exact problem, what kind of actions? you can use switch blocks or the If block

댓글 수: 2

Rajat Garg
Rajat Garg 2016년 7월 15일
Thanks for the response but i'm looking for the solution just how to enter if condition in "if" simulink block?

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Modeling에 대해 자세히 알아보기

태그

질문:

2016년 7월 15일

댓글:

2016년 7월 15일

Community Treasure Hunt

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

Start Hunting!

Translated by