MATLAB Answers

Create bus object from existing manually created bus in simulink

48 views (last 30 days)
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?

More Answers (0)

Community Treasure Hunt

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

Start Hunting!