LibraryUnload

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

DetailsDetails

  • 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.

ExamplesExamplesopen allclose all

Basic Examples (1)Basic Examples (1)

LibraryFunction objects are generated by LibraryFunctionLoad:

In[1]:=
Click for copyable input

LibraryFunction objects can be used as Mathematica functions:

In[2]:=
Click for copyable input
Out[2]=

This unloads the library:

In[3]:=
Click for copyable input

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

In[4]:=
Click for copyable input
Out[4]=
New in 8
New to Mathematica? Find your learning path »
Have a question? Ask support »