This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.


Names of System block output ports


[name1,name2,...] = getOutputNamesImpl(obj)


[name1,name2,...] = getOutputNamesImpl(obj) returns the names of the output ports from System object, obj implemented in a MATLAB System block. The number of returned output 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.

getOutputNamesImpl is called by the getOutputNames method and by the MATLAB System block.

    Note:   You must set Access = protected for this method.

Input Arguments


System object™

Output Arguments


Names of the outputs for the specified object, returned as character vectors.

Default: empty character vector


expand all

Specify the name of an output port as 'count'.

methods (Access = protected)
   function outputName = getOutputNamesImpl(~)
      outputName = 'count';
Was this topic helpful?