Problem with Enable subsystem in simulink

6 views (last 30 days)
avinash3010
avinash3010 on 21 Mar 2014
Commented: avinash3010 on 21 Mar 2014
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.

Answers (1)

Chandrasekhar
Chandrasekhar on 21 Mar 2014
Edited: Chandrasekhar on 21 Mar 2014
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 Comment
avinash3010
avinash3010 on 21 Mar 2014
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

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!