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.

1 view (last 30 days)
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.

Answers (1)

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

Categories

Find more on Modeling in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!