This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.


Allow scalar expansion of input ports


Specifies that the input to your S-function input ports can 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.


See sfun_multiport.c, the source file for the sfcndemo_sfun_multiport example, for an example.

Introduced in R2007b

Was this topic helpful?