ssSetSignalSizesComputeType
Set the type of output dependency on the input signal.
Syntax
void ssSetSignalSizesComputeType (SimStruct *S, SS_VariableSizeComputeType type)
Arguments
S
SimStruct that represents an S-Function block.
Type
Enum value corresponding to the signal size compute type.
Returns
No return value
Description
Use this function in mdlSetWorkWidths if any output port dimensions mode is VARIABLE_DIMS_MODE to set the signal size type used to obtain the output signal size. Possible types are SS_VARIABLE_SIZE_FROM_INPUT_SIZE , i.e. the output sizes only depend on input sizes SS_VARIABLE_SIZE_FROM_INPUT_VALUE_AND_SIZE, i.e., the output sizes depend on input values.
Languages
C, C++
Examples
See the S-function sfun_varsize_concat1D.c
.
Version History
Introduced in R2009b