Skip to Main Content Skip to Search
Product Documentation

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

  


Related Products & Applications

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.

 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS