how to write conditional commands in simulink block diagrams
1 次查看(过去 30 天)
显示 更早的评论
how to write conditional commands in simulink block diagrams
0 个评论
回答(1 个)
Birdman
2018-3-29
There are lots of ways to write conditional commands in Simulink. For instance, you can use Logic Operator block, If Else block, Compare To block, etc. What I suggest you is to use a MATLAB Function block since it is really easy to implement conditions as if you are writing code in MATLAB command line. Just form your logic and implement it there.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Simulink Functions 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!