LibraryUnload

LibraryUnload[lib]

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

Details

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

Examples

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:

Wolfram Research (2010), LibraryUnload, Wolfram Language function, https://reference.wolfram.com/language/ref/LibraryUnload.html.

Text

Wolfram Research (2010), LibraryUnload, Wolfram Language function, https://reference.wolfram.com/language/ref/LibraryUnload.html.

CMS

Wolfram Language. 2010. "LibraryUnload." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/LibraryUnload.html.

APA

Wolfram Language. (2010). LibraryUnload. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/LibraryUnload.html

BibTeX

@misc{reference.wolfram_2024_libraryunload, author="Wolfram Research", title="{LibraryUnload}", year="2010", howpublished="\url{https://reference.wolfram.com/language/ref/LibraryUnload.html}", note=[Accessed: 21-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_libraryunload, organization={Wolfram Research}, title={LibraryUnload}, year={2010}, url={https://reference.wolfram.com/language/ref/LibraryUnload.html}, note=[Accessed: 21-November-2024 ]}