How to Select a Simulink Line Programmically

5 visualizaciones (últimos 30 días)
Vincent Porter
Vincent Porter el 5 de Oct. de 2017
Respondida: Suze Zhang el 9 de Oct. de 2017
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?

Respuestas (1)

Suze Zhang
Suze Zhang el 9 de Oct. de 2017
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:

Categorías

Más información sobre Programmatic Model Editing en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by