<< dlmake | Dynamic link | dlsym >> |
lib = dlopen(libraryname) |
a string: dynamic library name.
a dllib handle.
dlopen loads an dynamic library.
dlopen returns a dllib handle with Path property.
get, ismethod, isprop, disp, delete, isvalid, used, eq, ne, isequal, horzcat, vertcat are overloaded for dllib type.
library is searched first in NELSON_LIBRARY_PATH and after in PATH on windows or LD_LIBRARY_PATH or DYLD_LIBRARY_PATH on linux or Macos.
NELSON_LIBRARY_PATH can modified with setenv.
path_1 = modulepath('dynamic_link', 'builtin');
lib1 = dlopen(path_1)
isvalid(lib1)
dlclose(lib1)
isvalid(lib1)
clear lib1
Version | Description |
---|---|
1.0.0 | initial version |
Allan CORNET