Skip to content

calllib

ffi · scripts/ffi/calllib.m

CALLLIB  Call a function in a shared library loaded with loadlibrary.

  [x1,...,xN] = calllib (libname, funcname, arg1, ..., argN)

  Nexus#1825 (iface-007): struct-by-value marshalling via a ctypes-style
  ABI bridge (Python ctypes).  Pass a MATLAB struct or libstruct object.
  FcnPtr / pointer call paths remain validated then rejected until a native
  thunk backend lands (see nexus#1824).