Info
此问题已关闭。 请重新打开它进行编辑或回答。
matlab is stuck when using logical operators
2 次查看(过去 30 天)
显示 更早的评论
My simulink file has some conditions checking using logical operators and if condition using switch block.But after running , file is stuck and not able even to end task using task manager.
Please anyone help me to figure out thi sissue.these conditions are meant to check alwyas during the time of simulations .
0 个评论
回答(1 个)
Srimouli Rukmabhatla
2020-3-18
Hi,
You may use the if action subsystem block , switch action subsystem block rather than using if and switch blocks. Example model is attached.
0 个评论
此问题已关闭。
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!