Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

prog::untrace

Terminates observation of functions

MuPAD® notebooks are not recommended. 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::untrace(obj)
prog::untrace()

Description

prog::untrace(obj) terminates the observation of the MuPAD® function obj performed by prog::trace.

obj can be a domain or a function environment, too. Then all methods of the domain or function environment will be restored.

If no argument is given, all observed objects will be restored from observation.

Examples

Example 1

The observation of a function will be terminated:

prog::trace(sin):
sin(2)
enter sin(2)
computed sin(2)

prog::untrace(sin):
sin(2)

Parameters

obj

The MuPAD function that is observed, or a domain or a function environment

Return Values

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

See Also

MuPAD Functions

Was this topic helpful?