Filter löschen
Filter löschen

Question about the "enable" block.

2 Ansichten (letzte 30 Tage)
Sébastien Malengé
Sébastien Malengé am 18 Mär. 2011
Hi,
I have a little question about the enable block. If I have a enable block in a subsystem, what become my outputs when my subsystem is not enable ? And more specially when I have one output which is a bus ?

Akzeptierte Antwort

Kaustubha Govind
Kaustubha Govind am 18 Mär. 2011

Weitere Antworten (2)

Arnaud Miege
Arnaud Miege am 18 Mär. 2011
Have a read of Enabled Subsystems in the Simulink documentation, particularly the section Setting Output Values While the Subsystem Is Disabled. As far as I know, this works with busses as well.
HTH,
Arnaud

Sébastien Malengé
Sébastien Malengé am 18 Mär. 2011
I already read this doc, but how do you do to put your initial condition in the "initial output" box, when you have a bus ? For example, in my bus, I have enumerated, double, maybe an other bus, etc, so I don't have just one value to initialize.
  2 Kommentare
Guy Rouleau
Guy Rouleau am 22 Mär. 2011
Did you really read the section mentioned by Kaustubha? This is what you need. Note that it is available since MATLAB R2010a.
Kaustubha Govind
Kaustubha Govind am 23 Mär. 2011
Guy: I think Sebastien's reply was to Arnaud's answer. My answer came later but got voted up, so it shows up higher.

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Schedule Model Components finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by