| Contents | Index |
Simulink.BlockDiagram.deleteContents(bdiag)
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.
bdiag |
Block diagram name or handle |
Delete the graphical content of an open block diagram named f14, including all subsystems:
Simulink.BlockDiagram.deleteContents('f14');Simulink.BlockDiagram.copyContentsToSubSystem | Simulink.SubSystem.convertToModelReference | Simulink.SubSystem.copyContentsToBlockDiagram | Simulink.SubSystem.deleteContents

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.
| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |