필터 지우기
필터 지우기

Two simulation outputs in single scope in simulink

조회 수: 1 (최근 30일)
Thayumanavan
Thayumanavan 2014년 7월 2일
댓글: Thayumanavan 2014년 7월 3일
Hi,
I have a SIMULINK Model.I am using a timer block to change values at some time instants:For example between 15 t0 15.1 it must be 0.90 as shown below
Simulation 1 Time
[0 15 15.1]
Amplitude
[0 0.9 0 ]
and i am getting the output in a scope.
Simulation 2
between 15 t0 15.1 it must be 0
Time
[0 15 15.1]
Amplitude
[0 0 0 ].I am getting the output correctly.
But i want both the outputs in same scope
I used 2 timer blocks for those two values and mux block but is is giving incorrect output.Any suggestions pls

답변 (1개)

Mischa Kim
Mischa Kim 2014년 7월 3일
편집: Mischa Kim 2014년 7월 3일
Thayumanavan, use a mux block to combine the two signal into one which you can then feed into a scope.
  댓글 수: 1
Thayumanavan
Thayumanavan 2014년 7월 3일
I already used mux but the output is wrong.In my case timer block(used for changing values at some specific time instants) is before an integrator block the output of the integrator is going to some other subsystems also.Actually it is a differential equation whose 1 parameter has to be changed for two values and the output should should be in one scope .U pls c the attachment

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Simulink Functions에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by