simulink model using switch block
4 次查看(过去 30 天)
显示 更早的评论
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1297355/image.png)
I want to make a simulink model for these given conditions in above table.
If xyz is true, then check input 2, if true, then it is automatic generated, if false then either it is automatic or human generated. then further check if it is repeated or not. then merge all this into output
0 个评论
回答(1 个)
Oguz Kaan Hancioglu
2023-2-16
You can use matlab function in simulink.
You can implement your conditions using if-else statement.
3 个评论
Oguz Kaan Hancioglu
2023-2-16
You cannot use switch block because switch case statement only checks one input. You have 4 input.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Schedule Model Components 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!