Skip to Main Content Skip to Search
Product Documentation

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.c, the source file for the sfcndemo_sfun_multiport.mdl demo, for an example.

  


Related Products & Applications

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.

 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS