Owning Class: libraries
Requires: MathScript RT Module (Windows)
lib_unload(libname)
Legacy Name: unloadlibrary
Unloads a shared library.
| Name | Description |
|---|---|
| libname | Specifies the name of the shared library you want to unload. If you assigned an alias when you loaded the shared library, use the alias for libname. libname is a string. |
Refer to the MathScript Shared Libraries.lvproj in the labview\examples\MathScript\MathScript Shared Libraries directory for examples of calling shared libraries from MathScript.
r = [labviewroot '\examples\MathScript\MathScript Shared Libraries']
lib_load('myDemo', 'demo', 'alias', 'myD', 'includepath', r)
lib_isloaded('myD')
lib_unload('myD')
lib_isloaded('myD')