COM_ismethod
Determines if input is an existing COM object method.
📝Syntax
r = COM_ismethod(h, methodname)
r = ismethod(h, methodname)
📥Input Arguments
Parameter Description
h a COM object.
methodname a string: method name tested as valid method for the COM object.
📤Output Arguments
Parameter Description
r a logical.
📄Description
r = ismethod(h, methodname) returns true if the specified name is a method of the COM object h. Otherwise, it returns false.
💡Examples
e = actxserver('Excel.Application');
ismethod(e, 'Quit')
delete(e)
clear e
🔗See Also
COM_invoke
🕔Version History
Version Description
1.0.0 initial version
Edit this page on GitHub