Quantcast

Documentation Center

  • Trial Software
  • Product Updates

Pref::verboseRead

Shows reading of files

Use only in the MuPAD Notebook Interface.

This functionality does not run in MATLAB.

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?