Writing S-Functions Previous page   Next Page
mdlDisable

Respond to disabling of an enabled system containing this block.

C Syntax

C Arguments

S
   SimStruct representing an S-Function block.

M Syntax

M Arguments

s
   Instance of Simulink.MSFcnRunTimeBlock class representing the S-Function block

Description

Simulink invokes this optional method if this block resides in an enabled subsystem and the enabled subsystem changes from an enabled to a disabled state at the current time step. Your S-function can use this method to perform any actions required by the disabling of the containing subsystem.

Languages

Ada, C, M

See Also

mdlEnable


Previous page  mdlDerivatives mdlEnable Next page

© 1994-2005 The MathWorks, Inc.