Main Content

addproperty

Add custom property to COM object

Description

addproperty(c,name) adds custom property name to object or interface c.

Input Arguments

collapse all

COM object, specified as a function handle.

Property name, specified as a character vector.

Example: 'Position'

Limitations

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

Introduced before R2006a