Simulink For each with nonvirtual bus

2 vues (au cours des 30 derniers jours)
Maximilian Dio
Maximilian Dio le 13 Juin 2020
Hello I am trying to refactor some old Simulink models and I am stuck with a problem:
I have a nonvirtual Input bus which I want to use in a for each block. However this seems not to be possible. My workarround is that I have a bus selector and a mux in front and a deumx and Bus creator at the end (see image)
this works fine. However, when I Connect the output to the bus again and compile the for each block seems to create only a single scalar output... (see image)
It has to do something with the for each block! How Do I have to specify the for each block in this case??
Glad for your help.

Réponses (0)

Catégories

En savoir plus sur Simulink Functions dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by