Azzera filtri
Azzera filtri

Use bus as output port in simulink

1 visualizzazione (ultimi 30 giorni)
Luis Ruiz
Luis Ruiz il 3 Lug 2019
Risposto: Jonas il 4 Lug 2019
I created a bus.
Then that bus is passed to an output port.
When I run:
[~,~,Y]=sim( my_model, t );
Simulink complaints because my bus is a non-built-in type.
Is there a way to get the output?

Risposte (1)

Jonas
Jonas il 4 Lug 2019
You need to create a Bus Object and set the data type of the output port to Bus Object, referring to the name of the Bus Object you created.

Categorie

Scopri di più su Programmatic Model Editing in Help Center e File Exchange

Prodotti


Release

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by