How to Select a Simulink Line Programmically

조회 수: 7 (최근 30일)
Vincent Porter
Vincent Porter 2017년 10월 5일
답변: Suze Zhang 2017년 10월 9일
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일
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:

카테고리

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