Two simulation outputs in single scope in simulink
Afficher commentaires plus anciens
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
Réponses (1)
Mischa Kim
le 3 Juil 2014
Modifié(e) : Mischa Kim
le 3 Juil 2014
0 votes
Thayumanavan, use a mux block to combine the two signal into one which you can then feed into a scope.
1 commentaire
Thayumanavan
le 3 Juil 2014
Catégories
En savoir plus sur Simulink dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!