| Simulink® | ![]() |
Simulink.SubSystem.deleteContents(subsys)
Subsystem name or handle
Simulink.SubSystem.deleteContents deletes the contents of the subsystem subsys. The subsystem 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 has a subsystem named Controller, the following code deletes the graphical contents of Controller, including all nested subsystems. Nongraphical information in Controller remains unchanged.
Simulink.SubSystem.deleteContents('f14/Controller');Simulink.BlockDiagram.copyContentsToSubSystem
Simulink.BlockDiagram.deleteContents
Simulink.SubSystem.convertToModelReference
Simulink.SubSystem.copyContentsToBlockDiagram
![]() | Simulink.SubSystem.copyContentsToBlockDiagram | Simulink.SubSystem.getChecksum | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |