How do I remove a signal from a scope?

34 ビュー (過去 30 日間)
J H
J H 2017 年 2 月 27 日
コメント済み: Edward Vivanco 2022 年 7 月 23 日
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
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 件)

Jonas
Jonas 2021 年 4 月 1 日
編集済み: Jonas 2021 年 4 月 1 日
Enable to display the Legend in the Scope. Click on the signal in the Legend box to hide it.

Bo Yuan
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.

Mehmet Eker
Mehmet Eker 2021 年 7 月 13 日
Delete the scope and create another one with fewer connections.
  1 件のコメント
Edward Vivanco
Edward Vivanco 2022 年 7 月 23 日
lol same

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeScopes and Data Logging についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by