focus a block in model by m file

조회 수: 5 (최근 30일)
kei hin
kei hin 2021년 10월 25일
편집: kei hin 2023년 5월 24일
when I select a block in model, there is a blue outer frame on the block, but when I use 'hilite_system' in m file to focus a block, the background color yellow will showed, so I can not see the real color of block directly. So I want to focus block by that blue frame by m file, how?

채택된 답변

kei hin
kei hin 2021년 10월 25일
편집: kei hin 2021년 10월 25일
set(block_handle,'selected', 'on');
or
set(get_param(block_path,'handle'), 'selected', 'on');

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Modeling에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by