Problem with Enable subsystem in simulink

2 次查看(过去 30 天)
I am simulating a Switched reluctance machine having 4 phases. Each phase is an enabled subsystem enabled by control signals generated from angle feedback. The problem is that even though the control signal is a pulse waveform varying from 0 to 1, the enable signal inside the subsystem is always shown to be 1 (observed from 'show output port'). This means the subsystem is always being enabled.
I am unable to resolve this issue. Please help asap.

回答(1 个)

Chandrasekhar
Chandrasekhar 2014-3-21
编辑:Chandrasekhar 2014-3-21
The output of the enable subsystem holds the value even if the subsystem is disabled. If you want to reset the output value do as shown in figure below
  1 个评论
avinash3010
avinash3010 2014-3-21
I looked into this.I want to use the enable signal within the subsystem, not as an output.
the enable signal outside the block is
but inside the block it is always 1

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Conditionally Executed Subsystems and Models 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by