Why does the "Enabled Subsystem" not work?
16 views (last 30 days)
Show older comments
Commented: Jakob Hartig on 19 May 2017
When trying out "Enabled Subsystem" I encounter a strange Problem: The block seems not to work. But strangely the same block copied from the "enablesub"-example seems to work (see Picture and attached Model). I have no idea why this is the case since i compared every Parameter of the two Subsystem-blocks and the enabled block.
I am using Matlab Simulink Version 126.96.36.1994 (R2013a).
Swarooph on 19 May 2017
This is because the setting 'Output when disabled' is different for the respective output ports of the Enabled subsystems.
The From Library Browser version has the following setting:
The example version has the following setting:
Because of this discrepancy, the behavior is expected. Take a look at the documentation here to learn more about this setting.
More Answers (0)
Find more on Subsystems in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!