Names of System block output ports
[name1,name2,...] = getOutputNamesImpl(obj)
[name1,name2,...] = getOutputNamesImpl(obj) returns
the names of the output ports from System object,
in a MATLAB System block. The number
of returned output names matches the number of outputs returned by
getNumOutputs method. If you change a property
value that affects the number of outputs, the names of those outputs
getOutputNamesImpl is called by the
and by the MATLAB System block.
You must set
Names of the outputs for the specified object, returned as character vectors.
Default: empty character vector
Specify the name of an output port as
methods (Access = protected) function outputName = getOutputNamesImpl(~) outputName = 'count'; end end