Documentation Center

  • Trial Software
  • Product Updates

Simulink.SubSystem.deleteContents

Delete contents of subsystem

Syntax

Simulink.SubSystem.deleteContents(subsys)

Description

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.

Input Arguments

subsys

Subsystem name or handle

Examples

Delete the graphical contents of Controller, including all nested subsystems:

Simulink.SubSystem.deleteContents('f14/Controller');

See Also

| | |

Was this topic helpful?