Documentation Center

  • Trial Software
  • Product Updates

SS_OPTION_ALLOW_INPUT_SCALAR_EXPANSION

Allow scalar expansion of input ports

Description

Specifies that the input to your S-function input ports can be have a width of either 1 or the size specified by the port, usually referred to as the block width. The S-function expands scalar inputs to the same dimensions as the block width. See Scalar Expansion of Inputs for more information.

Example

See sfun_multiport.csfun_multiport.c, the source file for the sfcndemo_sfun_multiportsfcndemo_sfun_multiport example, for an example.

Was this topic helpful?