Documentation

ssCallSigListCreateFcn

Invoke the signal list creation function for an S-function

Syntax

const char_T * ssCallSigListCreateFcn(SimStruct *S,void *blk,int *numPorts,void ***ports,uint_T opts,SL_SigList **slist)

Arguments

S

SimStruct representing an S-Function block.

blk

S-Function block.

numPorts

Number of ports in the arrayports.

ports

Array of port objects. Free the array usingssCallGenericDestroyFcn.

opts

Options for what to exclude in the signal list.

For more information about options, seesigregdef.h.

slist

List of signals that correspond to a given set of ports. FreeslistusingssCallSigListDstroyFcn.

Returns

A pointer to a character vector containing an error description on failure, andNULLif successful.

Description

Creates a signal list corresponding to a given set of ports. You can use the signal list to access data for the signals.

语言

C, C++

Example

See the S-functionbarplot.c.

Introduced in R2019a