Hello, apparently if a parent subsystem is reseted the enabled subsystems in the parent sybsystem are not reseted. If the enable function is removed, the subsystem is reseted when the parent subsystem reseted. My solution now is to attach the reset signal to the enabled subsystem, but it is not very clean. Does anyone know a better solution? Or why this is happening and if I am doing something wrong? :)
Attached are the images of the model, simulation and simulink file. Thanks in advance
PD: I wont be able to see any responses for a week, so don't be surprised if I don't answer fast ;)
MATLAB Version: 9.14.0.2337262 (R2023a) Update 5
Simulink model:
First subsystem with external reset:
Second subsystem with external enable:
Simulation with the enables subsystem