MATLAB Answers

0

How to adjust the value of something using if-else logic in Simulink

Asked by James Parkus on 4 Jun 2019
Latest activity Answered by Raghunandan V on 6 Jun 2019
Hi,
I am trying to have a value of an input change based on a if-else condition in Simulink and I cannot find a good video to help.
I am trying to evaluate an equation with a variable input that changes instanteously. So the angle should start at 45 deg then when a condition is met, the angle should change to 0 deg. I have been trying to learn stateflow but all the videos I am finding are way above my level of understanding. I can't find a good intro to just learning basic logic. Can someone help me figure this out?
Thanks,
James

  0 Comments

Sign in to comment.

Products


Release

R2018b

1 Answer

Answer by Raghunandan V on 6 Jun 2019

Hi,
Try using switch block from simulink library

  0 Comments

Sign in to comment.