Group: | Dynamically Linked Library |
See also: | dlclose dlcall dlquery dlcallex |
Function: | dlopen | |
Description: | dlopen loads a dynamically linked library. |
Usage: | handle = dlopen (n) | |
Input: | ||
n | string, name of dll | |
Output: | ||
handle | scalar, handle to address this library |
// For UNIX: // compile the file randu.c in the examples directory with e.g. // gcc -shared -o randu.so randu.c h = dlopen("randu.so") ; maybe you must give the full path
dll "randu" is loaded
// For WINDOWS: h=dlopen("gplm.dll")
dll "gplm" is loaded