Delete block from Simulink system
delete_block('blk'), where blk is a full block pathname or a block handle, deletes the specified block from a system.
Remove the Out2 block from the vdp system. Open the vdp model and select the Out2 block. Enter:
Remove the Out1 block from the vdp system. Open the vdp model and select the Out1 block. Enter the following commands:
Out1_handle = get_param(gcb,'Handle')
Out1_handle = 13.0010