Problem with Simulink - If block
Problem with Simulink - If block
(OP)
Hi everyone,
I'm a beginner with Simulink. I created a very simple model to get in touch with the If-Subsystem.
The model begins with a Constant C=1 passing through an Integrator (1/s). The function obtained through the integration logically is a Line. The line then passes through a if block with a restriction [ u > 2 ].I set two scopes. One showing me the output when u>2 the other one for every other situation. I expected results to be symmetric, but apperently they are not.
Whenever the restriction is not held the values remains at 1. Could anyone please explain me, what I could be doing wrongß ? I attached a picture with the model and outputs.
thank you in advance,
Paulo Faria
I'm a beginner with Simulink. I created a very simple model to get in touch with the If-Subsystem.
The model begins with a Constant C=1 passing through an Integrator (1/s). The function obtained through the integration logically is a Line. The line then passes through a if block with a restriction [ u > 2 ].I set two scopes. One showing me the output when u>2 the other one for every other situation. I expected results to be symmetric, but apperently they are not.
Whenever the restriction is not held the values remains at 1. Could anyone please explain me, what I could be doing wrongß ? I attached a picture with the model and outputs.
thank you in advance,
Paulo Faria
RE: Problem with Simulink - If block
Cheers
Greg Locock
New here? Try reading these, they might help FAQ731-376: Eng-Tips.com Forum Policies http://eng-tips.com/market.cfm?
RE: Problem with Simulink - If block
RE: Problem with Simulink - If block
My guess is, you need to add something to refresh the else trigger, I could be totally off!