Initial output value for bus in enabled subsystem hierarchy

2 Ansichten (letzte 30 Tage)
Torsten Knodt
Torsten Knodt am 10 Nov. 2014
Beantwortet: Manuel am 10 Nov. 2014
I have a hierarchy of subsystems where a middle subsystem is an enabled one. The hierarchical subsystems each have a single output port driven by a bus creator. So the output of the enabled subsystem is a bus with subbusses which again has subbusses. Now I would like to give initial values for each of the bus elements at the leaf subsystems. What is the cleanest solution for this?
Thanks in Advance Torsten Knodt

Akzeptierte Antwort

Manuel
Manuel am 10 Nov. 2014
Hi There is a documentation about "Specifying Initial Conditions for Bus Signals" which describes the supported initialization techniques for bus signals: http://www.mathworks.com/help/simulink/ug/specifying-initial-conditions-for-bus-signals.html There is also a demo example "busic_example" illustrating this that you can open from the MATLAB doc. Regards, Manuel

Weitere Antworten (0)

Kategorien

Mehr zu Subsystems finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by