destroy

Remove and destroy model element

Description

example

destroy(element) removes and destroys the model element.

Examples

collapse all

Create a component and then remove it from the model.

newcomponent = addComponent(rootArch,'NewComponent');
destroy(newcomponent)

Input Arguments

collapse all

Introduced in R2019a