Effacer les filtres
Effacer les filtres

how to give three inputs to a scope block in simulink ?

21 vues (au cours des 30 derniers jours)
hari
hari le 27 Mar 2014
Commenté : John Kozell le 1 Avr 2020
how i can give multiple inputs a scope block?

Réponses (1)

Mischa Kim
Mischa Kim le 27 Mar 2014
Modifié(e) : Mischa Kim le 27 Mar 2014
Kishore, simply use a multiplexer (Mux) block (in > Commonly Used Blocks) to combine the signals into one vector signal. The vector signal then connects to the Scope. By opening (double-click) the block you can define the number of signals to be combined.
  1 commentaire
John Kozell
John Kozell le 1 Avr 2020
Does this still work in R2020a? When I try to add a mux in front of a scope block, i get the following error:
Connecting the output port to a Bus Creator or Mux block '.../Mux' is not supported. To log or inspect these signals, consider streaming them to the Simulation Data Inspector or use one observation block per signal.
I'm just trying to observe 2 "entities departed" (d) statistics from 2 different queues - on the same graph.
Thanks
-John

Connectez-vous pour commenter.

Catégories

En savoir plus sur View and Analyze Simulation Results dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by