Skip to content

invoke

ffi · scripts/ffi/invoke.m

INVOKE  Invoke method on COM/interface/classdef object (MATLAB compat).

  GitLab #434 / #13001 - Supported on Nexus:
    - Windows COM / ActiveX handles from actxserver (IDispatch)
    - struct fields that store function handles
    - classdef / MCOS methods by name (meth(obj, ...))
  Unsupported (hard error, no silent no-op):
    - MATLAB Engine / .NET invoke surfaces (use NET.invoke)

  Linux: COM objects cannot be created; invoke on a COM-like class
  name still errors with Nexus:invoke:NotAvailable.

  See AI_Docs/docs/ISSUE_434_INVOKE_COM.md for call-site inventory policy.