Class: matlab.System

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 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.

Class Information

This method is part of the matlab.System class.

Run-Time Details

getOutputNamesImpl is called by the MATLAB System block.

Method Authoring Tips

You must set Access = protected for this method.

Input Arguments

expand all

System object handle used to access properties, states, and methods specific to the object. If your getOutputNamesImpl method does not use the object, you can replace this input with ~.

Output Arguments

expand all

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)

Introduced in R2013b