MATLAB Answers

0

Initial output value for bus in enabled subsystem hierarchy

Asked by Torsten Knodt on 10 Nov 2014
Latest activity Answered by Manuel
on 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

  0 Comments

Sign in to comment.

1 Answer

Answer by Manuel
on 10 Nov 2014
 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

  0 Comments

Sign in to comment.