This is machine translation

Translated by Microsoft
Mouse over text to see original. Click the button below to return to the English verison of the page.

라이선스가 부여된 사용자만 번역 문서를 볼 수 있습니다. 번역 문서를 보려면 로그인하십시오.

isprop (COM)

Determine whether input is COM object property


tf = isprop(h,'propertyname')


tf = isprop(h,'propertyname') returns logical 1 (true) if the specified name is a property of COM object h. Otherwise, returns logical 0 (false).

COM functions are available on Microsoft® Windows® systems only.


Test a property of an instance of a Microsoft Excel® application.

h = actxserver('Excel.Application');

MATLAB® returns true, UsableWidth is a property.

Try the same test on SaveWorkspace.


MATLAB returns false. SaveWorkspace is not a property; it is a method.

Was this topic helpful?