Names of MATLAB System block input ports
names = getInputNamesImpl(obj)
names = getInputNamesImpl(obj) specifies the names of the input ports from System
obj implemented in a MATLAB System block. The size of
names matches the
number of inputs returned by the
getNumInputs method. If you change a property value that changes the number of
inputs, the names of those inputs also change.
This method is part of the
getInputNamesImpl is called by the MATLAB System block.
You must set
Access = protected for this method.
obj— System object
System object handle used to access properties, states, and methods specific to the object. If
getInputNamesImpl method does not use the object, you can replace this
names— Names of inputs
Names of the inputs for the specified object, returned as a string array whose length equals the number of inputs.
Customize MATLAB System Block Appearance (Simulink)