unloadmod
-- unload a
moduleunloadmod
("modulename")
unloads the dynamic module named
modulename
.
unloadmod
()
tries to unload all currently
loaded dynamic modules.
unloadmod("modulename" <, Force>)
unloadmod()
"modulename" |
- | the name of a module: a character string |
Force |
- | forces the module manager to unload a static module. |
the void object of type DOM_NULL
.
Unloading the machine code of a module does not affect the module
domain. Accessing this module domain, the machine code of the
corresponding module is reloaded automatically if needed. The function
reset
unloads all
dynamic modules.
Dynamic Modules - User's Manual and Programming Guide for MuPAD 1.4, Andreas Sorgatz, Oct 1998, Springer Verlag, Heidelberg, with CD-ROM, ISBN 3-540-65043-1.
external
, loadmod
, module::displace
, module::new
, unexport
unloadmod
("modulename")
unloads the
machine code of the module from the MuPAD process and the main
memory.unloadmod
produces an error if one tries to unload a
static module without using the option Force.unloadmod
is a function of the system kernel.Dynamic modules can be unloaded at runtime to save memory resources or to change and re-compile the modules (rapid prototyping).
>> loadmod("stdmod"): unloadmod():
After unloading, the machine code is reloaded automatically if needed:
>> stdmod::which("stdmod")
"/usr/local/mupad/linux/modules/stdmod.mdm"
external
, loadmod
, and unloadmod
provide basic tools for
accessing modules. Extended facilities are available with the module
library.loadmod
, the module domain is
not affected.