How do I remove a signal from a scope?
조회 수: 23 (최근 30일)
이전 댓글 표시
If I have a scope with three inputs to it, how do I hide the last signal without deleting the wire using either matlab code or a Simulink block?
Thanks.
댓글 수: 1
shalaka sitre
2021년 4월 1일
you can just not log the data in the workspace . click on the scope >view> configuration> log data to workspace untick that box
답변 (3개)
Bo Yuan
2017년 8월 2일
My understanding is that you have a scope block with 3 input ports connected to 3 signals, but you only want to show the plots of first 2 signals in the scope, and hide the third signal without deleting the signal line.
Unfortunately scope block currently does not support suppressing input signals for display. One simple solution is that you can reduce the number of input ports of the scope block and feed that floating signal into a Terminator block. This can be done programmatically using MATLAB code.
One alternative you can try to use is the Simulation Data Inspector. It's a much more powerful tool for simulation data visualization that supports your need of selectively displaying signals of interest along with a whole set of APIs that enable you to configure the settings programmatically.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 View Data During Simulation에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!