Clear Filters
Clear Filters

Is enabled subsystem confusing? (Enable Port)

8 views (last 30 days)

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

Accepted Answer

Paul
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).

More Answers (1)

halleyhit
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".

Categories

Find more on Event Functions in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!