unloads all functions that have been loaded from a Wolfram Library, then it unloads the library.


  • LibraryUnload unloads all LibraryFunction objects from lib so that they can no longer be used.
  • On certain platforms, when all functions from a library have been unloaded, the library can be modified and reloaded.
  • LibraryUnload will unload a library that does not follow the Wolfram Library specification.
  • When a Wolfram Library is unloaded, an uninitialization function in the library is called.


Basic Examples  (1)

LibraryFunction objects are generated by LibraryFunctionLoad:

LibraryFunction objects can be used as Wolfram Language functions:

This unloads the library:

Now none of the LibraryFunction objects from the library can be used:

Introduced in 2010