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

what are the types in Relay?

1 Answers   PLA,


What is domestic transformer? Draw the connection of domestic transformer.

0 Answers  


I have a 1000 kVA Transformer(11kV/0.415kV) and a APFC panel of 400 kVAR(LT).Now if i want to remove the LT APFC panel and install a HT(11kV) APFC panel on the HT side is the HT APFC panel will work same as the LT APFC panel(improve the power factor),if yes what will be rating of the HT APFC panel?what is the formula to calculate HT APFC panel rating???

2 Answers  


you are a electrical student, why are you coming for software job.

4 Answers   TCS,


What is the lower limit of megger value for 66/11KV power Transformer ?

7 Answers   MSETCL Maharashtra State Electricity Transmission Co Ltd, Torrent Power,






WHAT IS DIFFRENCES DCS & PLC

1 Answers   Essar,


List the materials required for Pipe Earthing.

2 Answers  


What range of speed can you get with the armature control method of speed control of d.c. Shunt motor?

0 Answers  


how to calculate the capacity of CT operated LT trivector meters on a particular distribution transformer.

1 Answers  


An AC coil to give DC supply whats happen in the coil.what type of problem are create.

2 Answers  


why the voltage level in transmission line are in multiple of 11kV, 22kV, 33 kV etc..( i.e., 220 V )?

4 Answers  


while doing the excitation current test on power transformer what is the value of voltage to be applied? Nomonal rated voltage or 10% of rated voltage? Is it necessary to apply on high voltage side?

1 Answers   ACC,


Categories
  • Civil Engineering Interview Questions Civil Engineering (5085)
  • Mechanical Engineering Interview Questions Mechanical Engineering (4451)
  • Electrical Engineering Interview Questions Electrical Engineering (16632)
  • Electronics Communications Interview Questions Electronics Communications (3918)
  • Chemical Engineering Interview Questions Chemical Engineering (1095)
  • Aeronautical Engineering Interview Questions Aeronautical Engineering (239)
  • Bio Engineering Interview Questions Bio Engineering (96)
  • Metallurgy Interview Questions Metallurgy (361)
  • Industrial Engineering Interview Questions Industrial Engineering (259)
  • Instrumentation Interview Questions Instrumentation (3014)
  • Automobile Engineering Interview Questions Automobile Engineering (332)
  • Mechatronics Engineering Interview Questions Mechatronics Engineering (97)
  • Marine Engineering Interview Questions Marine Engineering (124)
  • Power Plant Engineering Interview Questions Power Plant Engineering (172)
  • Textile Engineering Interview Questions Textile Engineering (575)
  • Production Engineering Interview Questions Production Engineering (25)
  • Satellite Systems Engineering Interview Questions Satellite Systems Engineering (106)
  • Engineering AllOther Interview Questions Engineering AllOther (1379)