(obj)
¶A delete override for octave_com_object objects.
Release interfaces from COM object obj and then delete the COM server.
See also: com_delete delete.
(obj)
¶S =
invoke (obj, methodname)
¶S =
invoke (obj, methodname, arg1, …, argN)
¶Invoke a method on a COM object.
When called with just the single obj, invoke displays the methods available to the object. When called with methodname, invoke will invoke the method with optional args and return the result in S.
See also: com_invoke, methods.
(obj)
¶mtds =
methods (obj)
¶List the names of the public methods for the object octave_com_object obj.
When called with no output arguments, methods
prints the list of
method names to the screen. Otherwise, the output argument mtds
contains the list in a cell array of strings.
See also: methods.
(obj)
¶Release the COM object obj and all of its resources.
See also: com_release, delete.
S =
set (obj, propname, value)
¶A set override for octave_com_object objects.
Call set function on COM object obj to set property propname to value value. Returns any result in S.
See also: com_set.
h =
actxserver (progid)
¶Create a COM server using the progid identifier.
Returns h, a handle to the default interface of the COM server.
Example:
# create a COM server running Microsoft Excel app = actxserver ('Excel.Application'); # free the object destroy (app);
()
¶Close down all GNU Octave managed COM handles.
Called during pkg unload.
(obj)
¶Release interfaces from COM object obj and then delete the COM server
S =
com_get (obj)
¶Call get function on COM object obj. Returns any result in S
result =
com_invoke (obj)
¶result =
com_invoke (obj, method )
¶Call invoke on obj to run a method, or obtain a list of all methods.
com_invoke (obj)
returns a list of all methods available for object obj in result.
com_invoke (obj, method )
invokes method method for object obj and returns result result.
S =
com_set (obj, propname, value)
¶Call set function on COM object obj to set property propname to value value. Returns any result in S
tf =
iscom (h)
¶Determine whether h is a COM object.
if h is a COM object, returns true, otherwise returns false.
See also: actxserver.