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 次查看(过去 30 天)
How can I highlight reference model with one color and port(port is present in same reference model ) with some other color using script.

采纳的回答

Kaustubha Govind
Kaustubha Govind 2013-5-21
All blocks have the BackgroundColor property, so you should be able to do something like:
set_param('path/to/block', 'BackgroundColor', 'blue')
  1 个评论
venkateswarlu kaithepalli
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..

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Simulation 的更多信息

标签

产品

Community Treasure Hunt

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

Start Hunting!

Translated by