Multiple Inputs Scope in Simunk
이전 댓글 표시
I know that we can use Mux Block to have multiple inputs come into Scope Block. However, I sometimes see models that have Scope Block with multiple inputs and I am really interested in creating one. I attach a sample picture below http://i56.tinypic.com/2qdrkms.png
채택된 답변
추가 답변 (2개)
Vaibhav Saxena
2018년 2월 6일
1 개 추천
HI, with reference of your images, please use any one of the signal routing ie mux, merge or Bus creator. First connect multiple input signals with signal routing and connect output of it with scope. And run the model. You will get multiple plots in single frame of SCOPE. Note: Always use the same data type signals. It will not work multiple data type signals.
Vaibhav Saxena
Dimitris Iliou
2026년 5월 29일 14:19
0 개 추천
You can configure a Scope block to accept multiple input ports without using signal routing blocks. There are several ways to do this:
1) Port autogrow
- Drag additional signals directly onto the Scope block. Each new connection automatically creates a new input port.
2) Configure the number of inputs from the Scope properties
a) Property Inspector (Main section)
- Select the Scope block
- In the Property Inspector, locate the field for the number of input ports
- Set it to the desired value
- Double-click the Scope block to open the Scope window
- Click the Settings (gear icon) under the Scope tab
- In the General section, set Number of input ports to the desired value
3) Simulink Toolstrip
- Select the Scope block
- Use the Scope tab in the Simulink toolstrip
- Set the Number of ports directly
카테고리
도움말 센터 및 File Exchange에서 Scopes and Data Logging에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
