Main Content

deleteproperty

Remove custom property from COM object

Description

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'

Limitations

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

Version History

Introduced before R2006a