Documentation Center

  • Trial Software
  • Product Updates

Contents

ssGetOutputPortOptimOpts

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

Syntax

uint_T ssGetOutputPortOptimOpts(SimStruct *S, int_T port)

Arguments

S

SimStruct representing an S-Function block.

port

Index of an output 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 output port. For more information about these values, see ssSetOutputPortOptimOpts.

Languages

C, C++

Was this topic helpful?