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 > LibraryFunctionUnload >
Mathematica > Systems Interfaces & Deployment > Calling External Programs > Wolfram LibraryLink > LibraryFunctionUnload >
Mathematica > Systems Interfaces & Deployment > C/C++ Language Interface > Wolfram LibraryLink > LibraryFunctionUnload >

LibraryFunctionUnload

LibraryFunctionUnload[fun]
unloads a LibraryFunction so that it cannot be used.
  • On certain platforms, when all functions from a library have been unloaded, the library can be modified and reloaded.
  • When all functions from a Wolfram Library are unloaded, the library is unloaded.
LibraryFunction objects are generated by LibraryFunctionLoad:
LibraryFunction objects can be used as Mathematica functions:
This unloads the function:
Now the LibraryFunction cannot be used:
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
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team
Format:   HTML  |  CDF