Initial output value for bus in enabled subsystem hierarchy

2 vues (au cours des 30 derniers jours)
Torsten Knodt
Torsten Knodt le 10 Nov 2014
Réponse apportée : Manuel le 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

Réponse acceptée

Manuel
Manuel le 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

Plus de réponses (0)

Catégories

En savoir plus sur Subsystems dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by