Effacer les filtres
Effacer les filtres

A question relating to block names in Simulink

8 vues (au cours des 30 derniers jours)
Tragical
Tragical le 17 Août 2020
Commenté : Tragical le 18 Août 2020
Hi there everyone,
now then i have a general query based question which i was hoping to get some help on;
so i have a assignment which will require me to use the same block multiple times, the block in particular is the blue outline Ammeter. now then i am using three of these blocks and having "Current Sensor 1-3" isn't exactly very clear considering when i run it through a scope it shows the source blocks name.
so this leads me to my question; how would i go about changing the singular block name of the Ammeters without changing the library name?
i searched here on the help forums but i turned up nothing so i would appreciate any help offered.
  3 commentaires
Tragical
Tragical le 17 Août 2020
hi there,
sorry i should have explained better,
those are indeed the sensors that i was talking about, i wanted to individualise each one further than what they were as in the legend it says the name of the item it came from so i wanted to change it to say i_in or I_out etc. to reflect the information being displayed.
does this make more sense? if it will help in anyway i have attached the actual circuit diagram to this comment althrough i refrained from doing so originally as i felt it wouldn't help with solving my issue
Sara Boznik
Sara Boznik le 17 Août 2020
Hi!
Here I have one example for voltage sensor. I have attached you 2 photos. Did you think something like that?

Connectez-vous pour commenter.

Réponse acceptée

Joel Van Sickel
Joel Van Sickel le 17 Août 2020
Hello,
the block name can be changed by clicking on the block once. This will make it's name visible. Then, move your mouse over the block name, and it should change into a text editing cursor. You can click, and then edit the block name.
As an alternative, you may double click on the black wire that comes out of your ps -> simulink converter block. This wire can be named, and this name will go to your scope when viewing signals.
Regards,
Joel
  1 commentaire
Tragical
Tragical le 18 Août 2020
Hi there Joel,
thanks so much it worked like a charm!!

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Electrical Sensors dans Help Center et File Exchange

Produits


Version

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by