LibraryFunctionUnload

LibraryFunctionUnload[fun]
unloads a LibraryFunction so that it cannot be used.

DetailsDetails

  • LibraryFunctionUnload unloads a LibraryFunction so that it 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 unloads all functions from a library.
  • When a Wolfram Library is unloaded, an uninitialization function in the library is called.
  • When all functions from a Wolfram Library are unloaded, the library is unloaded.

ExamplesExamplesopen allclose all

Basic Examples (1)Basic Examples (1)

LibraryFunction objects are generated by LibraryFunctionLoad:

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

LibraryFunction objects can be used as Mathematica functions:

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

This unloads the function:

In[3]:=
Click for copyable input

Now the LibraryFunction cannot 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 »