Set the type of output dependency on the input signal.
void ssSetSignalSizesComputeType (SimStruct *S, SS_VariableSizeComputeType type)
S
SimStruct representing an S-Function block.
Type
Enum value corresponding to the signal size compute type.
No return value
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.
C, C++
See the S-function sfun_varsize_concat1D.c
.