Main Content

gsl_PortObj

Get the port associated with an element of a signal list

Syntax

void * gsl_PortObj(SL_SigList *slist, int idx)

Arguments

slist

Signal list generated using ssCallSigListCreateFcn.

idx

Index for an element within the signal list.

Returns

The port associated with the element in the signal list.

Description

Returns the port associated with the element in the signal list.

Languages

C, C++

Examples

See the S-function barplot.c.

Version History

Introduced in R2019a