Main Content
removePortIdentifier
Class: Simulink.Mask
Namespace: Simulink
Syntax
aMaskObj.removePortIdentifier(portIdentifier)
Description
aMaskObj.removePortIdentifier(
removes the specified port identifier on the mask object.portIdentifier
)
Input Arguments
Example
Add port identifier
amaskObj.addPortIdentifier('Name','pi1','Type','Input','IdentifierType','index','Identifier','2')
Remove port identifier
amaskObj.removeAllPortIdentifier('pi1'); amaskObj.getPortIdentifier('pi1');
Port Identifier 'pi1' does not exist in the block 'model1/Subsystem'.
Version History
Introduced in R2022a