Contents

ssAddVariableSizeSignalsRuntimeChecker

Register a method to check the current input dimensions

Syntax

void ssAddVariableSizeSignalsRuntimeChecker (SimStruct *S, RuntimeCheckerType_T type)

Arguments

S

SimStruct representing an S-Function block.

type

Enum value corresponding to the checker type.

Returns

No return value

Description

Use this function in mdlSetWorkWidths to register a method for checking the input dimensions. Two types of checks are allowed INPUTS_DIMS_MATCH INPUTS_DISALLOW_EMPTY_SIGNAL The input dimensions matching checks that the current dimensions of all the input ports match, otherwise an error is thrown. The empty signal checker verifies that no input signal is empty at runtime, otherwise an error is thrown.

Languages

C, C++

Was this topic helpful?