Main Content

getOutputNamesImpl

Class:matlab.System

Names of MATLAB System block output ports

Syntax

names = getOutputNamesImpl(obj)

Description

names = getOutputNamesImpl(obj)specifies the names of the output ports from System object™,objimplemented in aMATLAB System(Simulink)block. The size ofnamesmatches the number of outputs returned by thegetNumOutputsmethod. 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 thematlab.Systemclass.

Run-Time Details

getOutputNamesImplis called by theMATLAB Systemblock.

Method Authoring Tips

You must setAccess = protectedfor this method.

Input Arguments

expand all

System object handle used to access properties, states, and methods specific to the object. If yourgetOutputNamesImplmethod 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.

Examples

Customize MATLAB System Block Appearance(Simulink)

Introduced in R2013b