Main Content

ssGetInputPortOptimOpts

Get the reusability setting of the memory allocated to the input port of an S-function

Syntax

uint_T ssGetInputPortOptimOpts(SimStruct *S, int_T port)

Arguments

S

SimStruct that represents an S-Function block.

port

Index of an input port of S.

Returns

One of the following values:

  • SS_NOT_REUSABLE_AND_GLOBAL

  • SS_REUSABLE_AND_LOCAL

  • SS_REUSABLE_AND_GLOBAL

  • SS_NOT_REUSABLE_AND_LOCAL

Description

Use this macro to get the reusability of an S-function input port. For more information about the possible return values, see ssSetInputPortOptimOpts.

Languages

C, C++

Version History

Introduced before R2006a