Typical Scenario to Debug Runtime Errors
These steps describe a typical debugging scenario to resolve runtime errors in the example model:
- 1
. - Create the Simulink model and Stateflow diagram (including defining the
event and data objects).
- 2
. - Ensure the
sfun target includes debugging options.
- 3
. - Invoke the Debugger and choose debugging options.
- 4
. - Start the simulation.
- 5
. - Debug the simulation execution.
- 6
. - Resolve runtime error, and repeat from step 3.
[ Previous | Help Desk | Next ]