Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...


How to model "IF ELSE" statement in matlab simulink?

Answers were Sorted based on User's Feedback



How to model "IF ELSE" statement in matlab simulink?..

Answer / kosal ram

use two switches, or u can use the if block in the simulink.

Is This Answer Correct ?    9 Yes 6 No

How to model "IF ELSE" statement in matlab simulink?..

Answer / rachit kumar

An optimized solution will depend upon the test condition
of IF-ELSE loop. For example if the condition is relational
then you can use "Relational Operator" Block connected
with "Switch" block. Similarly the blocks can be changed
based on requirement.

Is This Answer Correct ?    3 Yes 1 No

How to model "IF ELSE" statement in matlab simulink?..

Answer / karthik

Go for State flow block

Is This Answer Correct ?    2 Yes 0 No

How to model "IF ELSE" statement in matlab simulink?..

Answer / anamika

you can use transition and junction.
at first take condition through first transition and if
this is satisfied then take the action part and if it is
not satisfied then take another transition and then connect
a common transition to tarminate the statement.

Is This Answer Correct ?    3 Yes 3 No

Post New Answer



More Electrical Engineering Interview Questions

why we use delta connection in transformer

2 Answers   UPPCL,


Transmission line design. Say, I have a 1MVA generator and 2 transformers that will have the same load. What would be the proper rating of the trasformers? Is it safe to say, that I will simply divide the total rating of the generator?

1 Answers  


Why Generator rotate only clock wise ?

8 Answers   L&T,


How to know vacuum in vacuum cylinder of breaker in working condition

0 Answers  


What is the use of conservater, bucchos relay, breather in a transformer?

8 Answers   Bosch, Wipro, Zadco,






reason behind why the reverse power relay of incoming machine was not acted even when no load was shifted on incoming machine after synchronising the machines ?

2 Answers  


Are you connected Transformer neutral eathing with it's body earthing or earthing met of switch yard.? Yes or No ? why ?

2 Answers  


can wind-turbine effect on rain or on cloud's

1 Answers  


can i have the methods of speed controls for 3 phase AC MOTORS.

7 Answers  


In between UPS out going changer over switch and ups raising main input, both side cable gland producing heat but the cable doesn't get heat,Why?

0 Answers  


How npn and pnp transistor works

0 Answers  


Are generator action and motor action relates to a particular machine only?

2 Answers  






Categories
  • Civil Engineering Interview Questions Civil Engineering (5080)
  • Mechanical Engineering Interview Questions Mechanical Engineering (4448)
  • Electrical Engineering Interview Questions Electrical Engineering (16619)
  • Electronics Communications Interview Questions Electronics Communications (3915)
  • Chemical Engineering Interview Questions Chemical Engineering (1093)
  • Aeronautical Engineering Interview Questions Aeronautical Engineering (214)
  • Bio Engineering Interview Questions Bio Engineering (96)
  • Metallurgy Interview Questions Metallurgy (361)
  • Industrial Engineering Interview Questions Industrial Engineering (258)
  • Instrumentation Interview Questions Instrumentation (2993)
  • Automobile Engineering Interview Questions Automobile Engineering (332)
  • Mechatronics Engineering Interview Questions Mechatronics Engineering (97)
  • Marine Engineering Interview Questions Marine Engineering (123)
  • Power Plant Engineering Interview Questions Power Plant Engineering (171)
  • Textile Engineering Interview Questions Textile Engineering (575)
  • Production Engineering Interview Questions Production Engineering (0)
  • Satellite Systems Engineering Interview Questions Satellite Systems Engineering (106)
  • Engineering AllOther Interview Questions Engineering AllOther (1378)