Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Mathematica > Systems Interfaces & Deployment > Wolfram LibraryLink > LibraryUnload >
Mathematica > Systems Interfaces & Deployment > Calling External Programs > Wolfram LibraryLink > LibraryUnload >
Mathematica > Systems Interfaces & Deployment > C/C++ Language Interface > Wolfram LibraryLink > LibraryUnload >

LibraryUnload

LibraryUnload[lib]
unloads all functions that have been loaded from a Wolfram Library, then it unloads the library.
  • 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.
LibraryFunction objects are generated by LibraryFunctionLoad:
LibraryFunction objects can be used as Mathematica functions:
This unloads the library:
Now none of the LibraryFunction objects from the library can be used:
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
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team
Format:   HTML  |  CDF