Names of MATLAB System block output ports
names = getOutputNamesImpl(obj)
names = getOutputNamesImpl(obj) specifies the names of the output ports from System object™,
obj implemented in a MATLAB System (Simulink) block. The size of
names matches the
number of outputs returned by the
getNumOutputs method. If you change a property value that affects the number
of outputs, the names of those outputs also change.
This method is part of the
getOutputNamesImpl 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
getOutputNamesImpl method does not use the object, you can replace this
names— Names of outputs
Names of the outputs for the specified object, returned as a string array whose length equals the number of outputs.
Customize MATLAB System Block Appearance (Simulink)