| Contents | Index |
Simulink.SubSystem.deleteContents(subsys)
Simulink.SubSystem.deleteContents(subsys) 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.
subsys |
Subsystem name or handle |
Delete the graphical contents of Controller, including all nested subsystems:
Simulink.SubSystem.deleteContents('f14/Controller');Simulink.BlockDiagram.copyContentsToSubSystem | Simulink.BlockDiagram.deleteContents | Simulink.SubSystem.convertToModelReference | Simulink.SubSystem.copyContentsToBlockDiagram

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 |