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™, obj implemented in a MATLAB System (Simulink) block. The size of names matches the number of inputs returned by the getNumInputs method. 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 the matlab.System class.

Run-Time Details

getInputNamesImpl 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 getInputNamesImpl method 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)

Version History

Introduced in R2013b