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

답변 (1개)

Mischa Kim
Mischa Kim 2014년 3월 27일
편집: Mischa Kim 2014년 3월 27일

0 개 추천

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

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

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

카테고리

도움말 센터File Exchange에서 Simulink Code Inspector에 대해 자세히 알아보기

질문:

2014년 3월 27일

댓글:

2020년 4월 1일

Community Treasure Hunt

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

Start Hunting!

Translated by