Quantcast

Documentation Center

  • Trial Software
  • Product Updates

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 block diagram must have already been loaded. The function affects only blocks, lines, and annotations. It does not affect nongraphical information such as configuration sets.

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');

See Also

| | |

Was this topic helpful?