| Contents | Index |
void ssSetDWorkRequireResetForSignalSize (SimStruct *S, int dIndex, SS_VariableSizeStateResetType type)
SimStruct representing an S-Function block.
Dwork index.
Enum value corresponding to the signal size compute type.
No return value.
Use this function in mdlSetWorkWidths to configure the need of resetting the size of the Dworks indexed by dIndex in case there is a subsystem reset. The possible types are SS_VARIABLE_SIZE_STATE_NO_NEED_RESET SS_VARIABLE_SIZE_REQUIRE_STATE_RESET Use SS_VARIABLE_SIZE_REQUIRE_STATE_RESET when the state requires reset when input size changes, and SS_VARIABLE_SIZE_STATE_NO_NEED_RESET otherwise.
C, C++
See the S-function sfun_varsize_holdStatesUntilReset.c.

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 |