focus a block in model by m file

1 回表示 (過去 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 Center および File ExchangeAntenna and Array Analysis についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by