ssGetSolverMode
Get the solver mode being used to solve the S-function
Syntax
SolverMode ssGetSolverMode(SimStruct *S)
Arguments
- S
- SimStruct that represents an S-Function block or a Simulink® model. 
Returns
One of
- SOLVER_MODE_AUTO
- SOLVER_MODE_SINGLETASKING
- SOLVER_MODE_MULTITASKING
Description
Use this macro to get the solver mode for this S-function. This macro can return
                    SOLVER_MODE_AUTO in mdlInitializeSizes. However, in
                    mdlSetWorkWidths and any methods
                called after mdlSetWorkWidths, solver mode is either
                    SOLVER_MODE_SINGLETASKING or
                    SOLVER_MODE_MULTITASKING.
Languages
C, C++
Examples
See the S-function sfun_frmunbuff.c used in sfcndemo_frame for an example that uses this function.
                Running this model requires a DSP System Toolbox™ license.
See Also
Version History
Introduced before R2006a