Writing S-Functions    
ssGetSolverMode

Get the solver mode being used to solve the S-function.

Syntax

Arguments

S
   SimStruct representing an S-Function block or a Simulink model.

Description

Returns one of:

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

See Also
ssGetSimMode, ssIsVariableStepSolver


  ssGetSimMode ssGetSolverName