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::verboseRead

Shows reading of files

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::verboseRead(value)
Pref::verboseRead()

Description

With Pref::verboseRead the reading of library packages and files can be shown.

The arguments of Pref::verboseRead represent:

  • 0:

    no messages when reading files (default).

  • 1:

    message if a library packages will be read.

  • 2:

    messages if a package or any library function will be read.

  • NIL:

    restore the default value 0.

A call of Pref::verboseRead without arguments returns the current value.

Examples

Example 1

Show the reading of library packages:

reset():
Pref::verboseRead(1):
sin(x)
loading package 'Type' [mupad/share/lib/lib.tar#lib/]
                           0.8414709848 

Show reading of all library files:

reset():
Pref::verboseRead(2):
sin(1.0)
reading file mupad/share/lib/lib.tar#lib/SPECFUNC/sin.mu
reading file mupad/share/lib/lib.tar#lib/SPECFUNC/sinh.mu reading
file mupad/share/lib/lib.tar#lib/STDLIB/infinity.mu loading package
'Type' [mupad/share/lib/lib.tar#lib/] reading file mupad/share/lib/lib.tar#lib/TYPE/Arith.mu
                           0.8414709848 

The default mode is restored:

Pref::verboseRead(NIL):

Parameters

value

0, 1, 2, or NIL

Return Values

Last defined value

See Also

MuPAD Functions

Was this topic helpful?