etrace

Enable or disable method tracing

Syntax

etrace level level-number

et level level-number

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

| |

Introduced before R2006a