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.

Pref::report

Informations during evaluation

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

Pref::report(level)

Description

Pref::report controls the frequency of report messages of the MuPAD® kernel during evaluation.

A kernel function displays frequently the three informations memory used, memory reserved and evaluation time in seconds.

The level 0 disables printing information. If level is 1, about every hour a message will be printed. With 9 as argument the most reports will be printed. The frequency depends on the machine's speed.

A call of Pref::report without arguments returns the current value. The argument NIL resets the default value 0.

Examples

Example 1

Frequently information:

Pref::report(9):
limit((1+1/n)^n,n=infinity)
[used=1612k,
reserved=1738k, seconds=1] [used=2716k, reserved=2856k, seconds=2]
                              exp(1) 

Reset to no information:

Pref::report(0):

Parameters

level

An integer between 0 and 9, or NIL

Return Values

Last defined level

See Also

MuPAD Functions

Was this topic helpful?