how to use "if else" command in simulink? I want to show the relation between speed and force that if speed is in limits then force is zero and if the speed exceeds the limit then force is max.

2 次查看(过去 30 天)
how to use if else function. i want to show that if speed is less than 30, than force is zero and if speed increases then force is max.

回答(1 个)

Adam Hug
Adam Hug 2015-6-29
Use the logic blocks or the "switch" block to create the if-else logic.

类别

Help CenterFile Exchange 中查找有关 Simulink Functions 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by