Creating and naming Simulink Buses
Ältere Kommentare anzeigen
Hi!
I want to use buses in Simulink, and give them proper names. Some are created from a struct in an m script using:
busInfo = Simulink.Bus.createObject(myStruct);
First: in emldemo_bus_struct, where are MainBus and SubBus created and named? They are used in the blocks by setting the type to Bus: MainBus
Second: How can i give any other name than slBus1 when creating the bus in Matlab?
thanks, Håvard
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Composite Interfaces finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!