Simulink – How to create a conditional “if” block
Dear experts,
I have a simulink model, in this model there are two equations.
The 1st eq applies when the speed increases from 50 to 70 rpm
The 2nd eq is applied when the speed decreases from 70 to 50 rpm
So when the speed goes from 50 to 70, I use the 1st eq. Until the speed reaches >=70.
Then I start using the 2nd eq. Until the speed reaches <=50.
and so on.
How can I create blocks for this purpose in simulink.
Thank you.Dear experts,
I have a simulink model, in this model there are two equations.
The 1st eq applies when the speed increases from 50 to 70 rpm
The 2nd eq is applied when the speed decreases from 70 to 50 rpm
So when the speed goes from 50 to 70, I use the 1st eq. Until the speed reaches >=70.
Then I start using the 2nd eq. Until the speed reaches <=50.
and so on.
How can I create blocks for this purpose in simulink.
Thank you. Dear experts,
I have a simulink model, in this model there are two equations.
The 1st eq applies when the speed increases from 50 to 70 rpm
The 2nd eq is applied when the speed decreases from 70 to 50 rpm
So when the speed goes from 50 to 70, I use the 1st eq. Until the speed reaches >=70.
Then I start using the 2nd eq. Until the speed reaches <=50.
and so on.
How can I create blocks for this purpose in simulink.
Thank you. conditional block in simulink MATLAB Answers — New Questions