Main Content


Remove custom property from COM object


deleteproperty(c,name) deletes the name property from custom properties belonging to the object or interface c.

You can delete properties only created with the addproperty function.

Input Arguments

collapse all

COM object, specified as a function handle.

Property name, specified as a character vector.

Example: 'Position'


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

Version History

Introduced before R2006a