Simulink Reference Previous page   Next Page
etrace

Enable or disable method tracing

Syntax

Description

This command enables or disables method tracing, depending on the value of level:

Level
Description
0
Turn tracing off.
1
Trace model methods .
2
Trace model and system methods.
3
Trace model, system, and block methods.

When method tracing is on, the debugger prints a message at the command line every time a method of the specified level is entered or exited. The message specifies the current simulation time, whether the simulation is entering or exiting the method, the method id and name, and the name of the model, system, or block to which the method belongs.

See Also

elist, where, trace


Previous page  emode help Next page

© 1994-2005 The MathWorks, Inc.