필터 지우기
필터 지우기

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 CenterFile Exchange에서 Simulation에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by