How to connect existing simulink signal to an input port of the block programmatically?

2 vues (au cours des 30 derniers jours)
Yuriy
Yuriy le 30 Mar 2016
Réponse apportée : goerk le 11 Avr 2016
Hi
I want to connect existing simulink signal to an input port of the block programmatically. I have a signal handler and block handler. How I can do it programmatically?
Thank you

Réponses (1)

goerk
goerk le 11 Avr 2016
You can use the command:
h = add_line('sys','oport','iport')

Catégories

En savoir plus sur Modeling dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by