Writing S-Functions    
ssIsVariableStepSolver

Get the name of the solver being used to solve the S-function.

Syntax

Arguments

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

Description

Returns 1 if the solver being used to solve S is a variable-step solver. This is useful when you are creating S-functions that have zero crossings and an inherited sample time.

Languages

C

See Also
ssGetSimMode, ssGetSolverName


  ssIsSpecialSampleHit ssPrintf