As I understand, you are looking to find an explanation for why an enabled subsystem is showing an output despite being disabled all the time.
The explanation for this can be found in the documentation titled “Conditional Subsystem Initial Output Values”. To access this, execute the following command in the MATLAB command window-
web(fullfile(docroot, 'simulink/ug/specify-or-inherit-conditional-subsystem-initial-values.html'))
Specifically, the enabled subsystem in your model outputs the value “10” because the “Outport” block uses the default initial value of the output data type when an input signal is not provided to the enabled subsystem.
To specify initial output values:
- Open the dialog box for an Output block in a conditional subsystem.
- From the “Source of initial output value” drop-down list, select “Dialog”.
- In the “Initial output” box, enter the initial value.
Hope this helps!