Not able to use the if condition as desired in simulink

9 ビュー (過去 30 日間)
Sandesh Venkatesh
Sandesh Venkatesh 2022 年 11 月 21 日
回答済み: Paul 2022 年 11 月 21 日
The purpose of this blocks is to check whether the input is zero if it is true then a particular rate limiter will be applied if not then other rate limiter to be applied. However, I am not able to execute the attached image simulink block as it gives the error stating that 'if can be connected to only one action subsytem and may not be connected to more than one action subsystem'. Can someone let me know what am I doing wrong.
Thanks in Advance

採用された回答

Benjamin Thompson
Benjamin Thompson 2022 年 11 月 21 日
You need to use the "if action" subsystem along with the "if". See the example in the documentation:

その他の回答 (1 件)

Paul
Paul 2022 年 11 月 21 日
The outputs of an If block can only drive If-Action subsystems. At a minimum, the limiter blocks need to be wrapped inside If-Action subsystems. See the linked doc page and the links from there for more info.

カテゴリ

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

製品


リリース

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by