Writing S-Functions Previous page   Next Page
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


Previous page  ssGetSimMode ssGetSolverName Next page

© 1994-2005 The MathWorks, Inc.