Implementing if-else condition in simulink

2 ビュー (過去 30 日間)
Devyani
Devyani 2015 年 12 月 23 日
Hi, I want to use if/else condition for my input generated using signal generator. I want if u1>0 it follows algorithm1 which again uses u1 but all the previous values intact. However, simulink trim the values above 0 and then runs the algorithm. Similarly when u1<0 then algorithm2 is followed. How do we do it? Thank in advance

回答 (0 件)

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by