Why does the "Enabled Subsystem" not work?

조회 수: 14 (최근 30일)
Jakob Hartig
Jakob Hartig 2017년 5월 19일
댓글: Jakob Hartig 2017년 5월 19일
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 8.1.0.604 (R2013a).

채택된 답변

Swarooph
Swarooph 2017년 5월 19일
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.
  댓글 수: 1
Jakob Hartig
Jakob Hartig 2017년 5월 19일
Thank You very much Swarooph. It works fine now. I never thought about the Output to be the source of the discrepancy.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Subsystems에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by