| Simulink® | ![]() |
Simulink.BlockDiagram.deleteContents(bdiag)
Block diagram name or handle
Simulink.BlockDiagram.deleteContents 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.
If an open block diagram named f14 exists, the following code deletes the graphical contents of f14, including all subsystems. Nongraphical information in f14 is unaffected.
Simulink.BlockDiagram.deleteContents('f14');Simulink.BlockDiagram.copyContentsToSubSystem
Simulink.SubSystem.convertToModelReference
Simulink.SubSystem.copyContentsToBlockDiagram
Simulink.SubSystem.deleteContents
![]() | Simulink.BlockDiagram.copyContentsToSubSystem | Simulink.BlockDiagram.getChecksum | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |