Contents

Enable

Respond to enabling of an enabled system containing this MATLAB S-Function block

Required

No

Language

MATLAB

Syntax

Enable(s)

Arguments

s

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

Description

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

Was this topic helpful?