Convert bus creator in bus object

4 vues (au cours des 30 derniers jours)
Gabriela
Gabriela le 16 Avr 2014
How can I convert/ create a bus object having a bus creator in the model. I have a huge bus creator in one model and I have to use signals from it inside another block which accept only bus object as input. Thank you in advance
  1 commentaire
Chandrasekhar
Chandrasekhar le 17 Avr 2014
can you attach the model if possible?

Connectez-vous pour commenter.

Réponses (1)

Niklas Nylén
Niklas Nylén le 17 Avr 2014
Select the bus creator in simulink and run this command in the command window, as I answered on one of your previous question:
Simulink.Bus.createObject(gcs, gcb);

Catégories

En savoir plus sur Modeling 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