Input port won't go away by Delete key

Hi,
Using matlab 2017b with Simulink,
By accident I paste a Input port from the library browser. Then I try to remove it but it wouldn't go away. It is getting very frustrated. here is a pic.
dsadas.PNG
When i look for the callbacks to that block I see protected textfield:
sdasdsa.PNG
I really bugs me now and can't continue my work. Anybody knows how to make it vanish?

 Accepted Answer

Found the solution. I just did in the command window:
delete_block('path to the block')

More Answers (0)

Categories

Asked:

on 24 Apr 2019

Answered:

on 24 Apr 2019

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!