Main Content

getInputNamesImpl

Class:matlab.System

Names of MATLAB System block input ports

Syntax

names = getInputNamesImpl(obj)

Description

names = getInputNamesImpl(obj)specifies the names of the input ports from System object™,objimplemented in aMATLAB System(Simulink)block. The size ofnamesmatches the number of inputs returned by thegetNumInputsmethod. If you change a property value that changes the number of inputs, the names of those inputs also change.

Class Information

This method is part of thematlab.Systemclass.

Run-Time Details

getInputNamesImplis 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 yourgetInputNamesImplmethod does not use the object, you can replace this input with~.

Output Arguments

expand all

Names of the inputs for the specified object, returned as a string array whose length equals the number of inputs.

Examples

Customize MATLAB System Block Appearance(Simulink)

Introduced in R2013b