确定是否使用变步长求解器来求解s函数
boolean_T ssIsVariableStepSolver (SimStruct *年代)
年代
表示s -功能块或Simulink的SimStruct金宝app®模型。
布尔值真正的
如果求解器被用来求解年代
是一个变步长求解器。否则,返回假
.
用于确定模拟是使用变量求解器还是固定步长求解器求解。当您创建具有零交叉和继承的样本时间的s函数时,这是非常有用的。
C, c++
看到这个功能vsfunc.c
中使用的sfcndemo_vsfunc
和功能sfun_atol.c
中使用的sfcndemo_sfun_atol
.