Documentation

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.

ssSetSignalSizesComputeType

Set the type of output dependency on the input signal.

Syntax

void ssSetSignalSizesComputeType (SimStruct *S, SS_VariableSizeComputeType type)

Arguments

S

SimStruct representing 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++

Example

See the S-function sfun_varsize_concat1D.c.

Introduced in R2009b

Was this topic helpful?