| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → Simulink |
| Contents | Index |
| Learn more about Simulink |
boolean_T ssIsFirstInitCond(SimStruct *S)
The Boolean value true if the current simulation time is equal to the simulation start time. Otherwise, returns false.
Note If this S-function resides in an enabled subsystem configured to reset states, and if the enabled system is enabled at the start time, then mdlInitializeConditions is called a second time and the Boolean value of ssIsFirstInitCond is true. |
Use inside mdlInitializeConditions to determine if the callback is being invoked at the start of the simulation.
C, C++

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.
| © 1984-2010- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |