Perform any actions required at termination of the simulation
Yes
MATLAB
Terminate(s)
s
Instance of Simulink.MSFcnRunTimeBlock
class
representing the Level-2 MATLAB S-Function block.
This method performs any actions, such as freeing of memory, that must be performed when the simulation is terminated or when an S-Function block is destroyed (e.g., when it is deleted from a model).