Register a method to check the current input dimensions
void ssAddVariableSizeSignalsRuntimeChecker (SimStruct *S, RuntimeCheckerType_T type)
S
SimStruct representing an S-Function block.
type
Enum value corresponding to the checker type.
No return value
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.
C, C++