By default, statechart debugging is enabled, which means you can debug a statechart. However, in some situations, you might want to disable debugging. Disabling debugging improves the efficiency of the generated Run Statechart function that represents the statechart. Disabling debugging also reduces the code size of a statechart that executes on a real-time target.
Complete the following steps to disable statechart debugging.