External Interfaces/API Reference Previous page   Next Page
unloadlibrary

Unload an external library from memory

Syntax

Description

unloadlibrary('libname') unloads the functions defined in shared library shrlib from memory. If you need to use these functions again, you must first load them back into memory using loadlibrary.

unloadlibrary libname is the command format for this function.

If you used an alias when initially loading the library, then you must use that alias for the libname argument.

Examples

Load the MATLAB sample shared library, shrlibsample. Call one of its functions, and then unload the library:

See Also

loadlibrary, libisloaded, libfunctions, libfunctionsview, libpointer, libstruct, calllib


Previous page  loadlibrary C Engine Functions Next page

Learn more about the latest releases of MathWorks products:

 © 1994-2009 The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS