External Interfaces Reference |
Determine if input is COM interface
Syntax
Description
tf = h.isinterface
returns logical 1
(true
) if the input handle, h
, is a COM interface. Otherwise, isinterface
returns logical 0
(false
) .
tf = isinterface(h)
is an alternate syntax for the same operation.
Examples
Create a COM server running Microsoft Excel. The actxserver
function returns a handle h
to the server object. Testing this handle with isinterface
returns false
:
Create an interface to workbooks
, returning handle w
. Testing this handle with isinterface
returns true
:
See Also
isevent | load (COM) |
© 1994-2005 The MathWorks, Inc.