Simulink Reference    
delete_block

Delete a block from a Simulink system.

Syntax

Description

delete_block('blk'), where 'blk' is a full block pathname, deletes the specified block from a system.

Example

This command removes the Out1 block from the vdp system.

See Also


  compare_model delete_line