removeAllPortIdentifiers
Removes all port identifiers from mask object
Since R2022a
Syntax
aMaskObj.removeAllPortIdentifiers()
Description
aMaskObj.removeAllPortIdentifiers()
removes all the port identifiers from
the mask object.
Examples
Add port identifier
amaskObj.addPortIdentifier('Name','pi1','Type','Input','IdentifierType','index','Identifier','2')
Remove port identifiers
amaskObj.removeAllPortIdentifiers();
amaskObj.getPortIdentifier('pi1');
Port Identifier 'pi1' does not exist in the block 'model1/Subsystem'.
Version History
Introduced in R2022a