How to Select a Simulink Line Programmically

I am debugging a Simulink model I created programmically. And I want to check if my connections are correct and would like to select a Block to Block line to check if it the correct line.
How can you select Simulink blocks, lines, or object with code?

回答 (1 件)

Suze Zhang
Suze Zhang 2017 年 10 月 9 日

0 投票

Hi Vincent,
Using function "get_param" allows you to select a block or the signal line. The link below to Documentation page gives detailed explanation and examples:

カテゴリ

ヘルプ センター および File ExchangeModeling についてさらに検索

質問済み:

2017 年 10 月 5 日

回答済み:

2017 年 10 月 9 日

Community Treasure Hunt

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

Start Hunting!

Translated by