Create bus object from existing manually created bus in simulink

8 vues (au cours des 30 derniers jours)
Robbin van Hoek
Robbin van Hoek le 24 Fév 2016
Commenté : Robbin van Hoek le 25 Fév 2016
Is is possible to store a Bus object, based on a manually created bus.
I have a simulink model (source1.slx) that features a large nested bus created using the bus creator block. I want to store this bus as a bus object, so that i can explicitly specify the format of the output port of the simulink model.
This is required as the model (source1.slx) is one of two variant models in my main simulation (main.slx). Because two different variant models are used. Simulink requires me to specify the format of the output ports of both variants
A bus data type should be specified for the block 'source1/FROM_vehicle ' since a bus is entering its input port.
How can i store this bus as an object to easily reproduce them in various files?

Réponse acceptée

Sebastian Castro
Sebastian Castro le 25 Fév 2016

Plus de réponses (0)

Catégories

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