![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/174635/image.png)
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.
0 个评论
回答(1 个)
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
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/174635/image.png)
另请参阅
类别
在 Help Center 和 File 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!