prog::traced

Find traced functions

MuPAD® notebooks will be removed in a future release. Use MATLAB® live scripts instead.

MATLAB live scripts support most MuPAD functionality, though there are some differences. For more information, see Convert MuPAD Notebooks to MATLAB Live Scripts.

Syntax

prog::traced(<obj>)

Description

prog::traced() lists all traced functions.

prog::traced(obj) detects, whether the function obj is traced. If obj is a library or a function environment, then all methods will be checked. If no argument is given, all traced functions will be displayed.

prog::traced determines whether a copy exists and whether the function has been manipulated the way prog::trace does.

Examples

Example 1

The sin function is traced:

prog::trace(sin):
prog::traced(sin)

The cos function is not traced:

prog::traced(cos)

Parameters

obj

A MuPAD® function, a function environment or a library

Return Values

prog::traced returns the void object null().

See Also

MuPAD Functions