Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

how to pass parameters between connected blocks

1 vue (au cours des 30 derniers jours)
Judy Black
Judy Black le 18 Août 2019
Clôturé : MATLAB Answer Bot le 20 Août 2021
Hi, I'm using Simulink to generate C code for models. I build my own specific blocks using inlined S-function. But I wonder how to pass paramenters between connected blocks? That is to say, I want to know how to implement the function in my blocks that is when the inport of A connects to the outport of B. how to let block A knows the value of specific parameter of block B ? Could you give me some clue or examples? Thanks

Réponses (0)

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by