dlclose

Removes dllib object.

Syntax

  • dllib_delete(h)

  • delete(h)

  • dlclose(h)

Input argument

  • h - a handle: an dllib object.

Description

dlclose(h) or delete(h) releases dllib object.

Do not forget to clear h afterward.

Example

path_ref = modulepath('dynamic_link', 'builtin');
lib = dlopen(path_ref)
isvalid(lib)
dlclose(lib); // or delete(lib)
isvalid(lib)

See also

dlopen.

History

VersionDescription

1.0.0

initial version

Author

Allan CORNET

Last updated