https://la.mathworks.com/help/systemcomposer/ref/systemcomposer.interface.dictionary.removeinterface.html
removeInterface - Remove named interface from interface dictionary - MATLAB
This MATLAB function removes the interface specified by name from the interface dictionary dictionary.
removenamedinterfacedictionarymatlab