Not able to use the if condition as desired in simulink
4 次查看(过去 30 天)
显示 更早的评论
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![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1201763/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1201763/image.png)
0 个评论
采纳的回答
Benjamin Thompson
2022-11-21
You need to use the "if action" subsystem along with the "if". See the example in the documentation:
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Subsystems 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!