Documentation

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 usingssCallSigListCreateFcn.

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.

语言

C, C++

Example

See the S-functionbarplot.c.

Introduced in R2019a