Force call to
Guarantees the Simulink® engine calls the S-function's
before destroying a block that references the S-function. Calling
your S-function to clean up after itself, for example, by freeing
memory it allocated during a simulation. The engine destroys an S-function
block under the following circumstances.
A simulation ends either normally or as a result of invoking
A user deletes the block.
The engine eliminates the block as part of a block reduction optimization (see Block reduction).
If this option is not set, the engine calls your S-function's
only if the
mdlStart method of at least one block
in the model containing the S-function executed without error.
See the S-function
Introduced in R2007b