Filter löschen
Filter löschen

How can I highlight reference model with one color and port(port is present in same reference model ) with some other color using script.

2 Ansichten (letzte 30 Tage)
How can I highlight reference model with one color and port(port is present in same reference model ) with some other color using script.

Akzeptierte Antwort

Kaustubha Govind
Kaustubha Govind am 21 Mai 2013
All blocks have the BackgroundColor property, so you should be able to do something like:
set_param('path/to/block', 'BackgroundColor', 'blue')
  1 Kommentar
venkateswarlu kaithepalli
venkateswarlu kaithepalli am 21 Mai 2013
Thanks for your reply. but i need to highlight the reference model with blue colour and inport or outport with red colour in reference model itself. This kind of thing is required in my project. Please let me know the solution..

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Simulation finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by