Using if function block in MATLAB Simulink

1 回表示 (過去 30 日間)
Jupin Sat
Jupin Sat 2015 年 4 月 5 日
コメント済み: hamza ünsal 2018 年 8 月 29 日
I have created the following block diagram on Matlab Simulink. It should give OUT1=1 OUT2=0 when INPUT>=0 and OUT1=0 OUT2=1 when INPUT<0. But it does not give the expected results. What is the reason for that. Any advice to make it work correctly would be appreciated.

回答 (1 件)

Sebastian Castro
Sebastian Castro 2015 年 4 月 5 日
You should use a Merge block with the outputs of the "if" and "else" subsystems, and then look at the signal coming out of that block.
  1 件のコメント
hamza ünsal
hamza ünsal 2018 年 8 月 29 日
hello can ı help me ?

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeSimulink Functions についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by