Main Content

ssCallGetPortNameFcn

Get the name for a given port

Syntax

const char_T * ssCallGetPortNameFcn(SimStruct *S,void *port)

Arguments

S

SimStruct representing an S-Function block.

port

Port object.

Returns

A const char_T * for the name of the given port.

Description

Get the name for a given port.

Languages

C, C++

Example

See the S-function barplot.c.

Introduced in R2019a