COM_ismethod
Determines if input is an existing COM object method.
📝 Syntax
r = COM_ismethod(h, methodname)
r = ismethod(h, methodname)
📥 Input argument
h - a COM object.
methodname - a string: method name tested as valid method for the COM object.
📤 Output argument
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.
💡 Example
e = actxserver('Excel.Application');
ismethod(e, 'Quit')
delete(e)
clear e🔗 See also
🕔 History
Version
📄 Description
1.0.0
initial version
Last updated
Was this helpful?