dlcall
C or Fortran Foreign function call.
Syntax
[x1, ... , xN] = dlcall(dlsym_handle, arg1, ..., argN)
Input argument
dlsym_handle - a dlsym handle.
arg1, ..., argN - input arguments.
Output argument
[x1, ... , xN] - output values.
Description
dlcall calls an external C or Fortran function loaded from an shared library.
dlcall validates input argument types before calling based on dlsym handle definition.
Examples
Call C getpid function
Call fortran DASUM (blas) function
See also
dlsym, C/Nelson equivalent data types.
History
Version
Description
1.0.0
initial version
Author
Allan CORNET
Last updated