Main Content

Terminate

Perform any actions required at termination of the simulation

Required

Yes

Language

MATLAB®

Syntax

Terminate(s)

Arguments

s

Instance of Simulink.MSFcnRunTimeBlock class representing the Level-2 MATLAB S-Function block.

Description

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

See Also

mdlTerminate

Version History

Introduced in R2012b