Create bus object from existing manually created bus in simulink

9 次查看(过去 30 天)
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?

采纳的回答

Sebastian Castro
Sebastian Castro 2016-2-25

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Simulink Functions 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by