仿真报错Number of ticks to the next hit for the controllable sample time (id=untitled/S-Function$0) at time 0 is specified as 0 that is not valid and hence, the next hit cannot be scheduled. Specify the number of ticks to next hit as a strictly positive integer.
ssSetNumTicksToNextHitForControllableSampleTime(S, 0, num);
说我没有将num设置为正整数
但是我在初始化时是设置为了1啊
ssSetNumTicksToNextHitForControllableSampleTime(S, 0, num);
说我没有将num设置为正整数
但是我在初始化时是设置为了1啊

