フィルターのクリア

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
venkateswarlu kaithepalli 2013 年 5 月 21 日
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 Center および File ExchangeSimulation についてさらに検索

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by