How do I remove a signal from a scope?

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 commentaire

shalaka sitre
shalaka sitre le 1 Avr 2021
you can just not log the data in the workspace . click on the scope >view> configuration> log data to workspace untick that box

Connectez-vous pour commenter.

Réponses (3)

Jonas
Jonas le 1 Avr 2021
Modifié(e) : Jonas le 1 Avr 2021

3 votes

Enable to display the Legend in the Scope. Click on the signal in the Legend box to hide it.

1 commentaire

Phab
Phab le 16 Mai 2025
I always found this super helpful and wish this would be possible in figures/plots, too.

Connectez-vous pour commenter.

Bo Yuan
Bo Yuan le 2 Août 2017

0 votes

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 le 13 Juil 2021

0 votes

Delete the scope and create another one with fewer connections.

Catégories

Produits

Question posée :

J H
le 27 Fév 2017

Commenté :

le 16 Mai 2025

Community Treasure Hunt

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

Start Hunting!

Translated by