reset

Re-initialize a session

Use only in the MuPAD Notebook Interface.

This functionality does not run in MATLAB.

Syntax

reset()

Description

reset() re-initializes a MuPAD® session, so that the current session will behave like a freshly started MuPAD session.

reset deletes the values of all identifiers and resets the environment variables to their default values. Finally, the initialization files sysinit.mu and userinit.mu are read again.

reset is permitted only at interactive level. Within a procedure, an error occurs.

Examples

Example 1

reset deletes the values of all identifiers and resets environment variables to their default values:

a := 1: DIGITS := 5: reset(): a, DIGITS

Return Values

Void object null() of type DOM_NULL.

See Also

MuPAD Functions

Was this topic helpful?