| Contents | Index |
SS_SimMode ssGetSimMode(SimStruct *S)
An enumerated value of type SS_SimMode.
Use to query the simulation mode of the block represented by S. Possible return values are:
SS_SIMMODE_NORMAL
Running a normal Simulink simulation
SS_SIMMODE_SIZES_CALL_ONLY
Invoked by the editor to obtain the number of ports
SS_SIMMODE_RTWGEN
Generating code regardless of the simulation mode
SS_SIMMODE_EXTERNAL
Running an external mode simulation
C, C++
See the S-function vsfunc.c used in sfcndemo_vsfunc.mdl.
ssRTWGenIsModelReferenceRTWTarget, ssRTWGenIsModelReferenceSimTarget, ssRTWGenIsCodeGen, ssRTWGenIsAccelerator, ssIsExternalSim, ssGetSolverName

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 |