Is enabled subsystem confusing? (Enable Port)
2 views (last 30 days)
Show older comments
Hello, It is confusing for me to have this title as "States When Enabling" as the descirption is different, so should this be "When Disabling" instead? https://de.mathworks.com/help/simulink/slref/enable.html
![](/matlabcentral/answers/uploaded_files/1718646/Screenshot_20240619_160214_Chrome.jpg)
2 Comments
Pavan Sahith
on 19 Jun 2024
Hi Ahmed , Attaching documentation link would help the community to help you better
Accepted Answer
Paul
on 20 Jun 2024
Hi Ahmed,
To me that looks like an error in the documentation. That parameter controls what happens to the states inside the subsystem at the time the subsystem is enabled.
You can click one of the stars at the bottom of the doc page, after which you'll get a dialog box where you can enter a request for clarification from the Mathworks documentation team.
As an aside, the values of the outputs of the subsystem at the time the subsystem is disabled is controlled by a parameter on each subsystem outport (link to doc).
0 Comments
More Answers (1)
halleyhit
on 20 Jun 2024
Hi Ahmed, when the block is disable, the state inside the block would change (held or reset). However, the results of the behavior would be viewed only when and after the block is enabled again. I guess that is why the title is "States when Enabling" and discription is "disable".
0 Comments
See Also
Categories
Find more on Event Functions in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!