Documentation

This is machine translation

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

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

Simulink.BlockDiagram.deleteContents

Delete contents of block diagram

Syntax

Simulink.BlockDiagram.deleteContents(bdiag)

Description

Simulink.BlockDiagram.deleteContents(bdiag) deletes the contents of the block diagram bdiag. The function affects only blocks, lines, and annotations. The block diagram must have already been loaded.

Input Arguments

bdiag

Block diagram name or handle

Examples

Delete the graphical content of an open block diagram named f14, including all subsystems:

Simulink.BlockDiagram.deleteContents('f14');

Introduced in R2007a

Was this topic helpful?