invoke
Invoke method on COM object or interface, or display methods
Description
invoke(
displays methods supported by object
or interface c
)c
, along with the prototypes for these methods. If the
output is empty, then either there are no properties or methods in the object, or
MATLAB® cannot read the object type library. For information about the object type
library, see your COM vendor documentation.
S = invoke(
invokes the method specified by c
,methodName
)methodName
and returns an output value,
if any, in a structure array. The method determines the data type of the return value. For a
description of how MATLAB converts COM types, see Handle COM Data in MATLAB.
If the method returns a COM interface, then the invoke
function
returns a new MATLAB COM object that represents the interface.
S = invoke(
invokes c
,methodName
,arg1,...,argN
)methodName
with input arguments
arg1,...,argN
.
Input Arguments
Version History
Introduced before R2006a