Initial output value for bus in enabled subsystem hierarchy

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

 Accepted Answer

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

More Answers (0)

Categories

Find more on Modeling in Help Center and File Exchange

Products

Asked:

on 10 Nov 2014

Answered:

on 10 Nov 2014

Community Treasure Hunt

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

Start Hunting!