老提示:Warning: Using a default value of 0.2 for maximum step size. The simulation step size will be limited to be less than this value.另外响应时间非常短,不知道什么原因俺是新手请多指教!
是solver选择的问题,改为fixed step出现
Warning: Unable to determine a fixed step size based on the sample times in the model 'micro', because the model does not have any discrete sample times. Picking a fixed step size of (0.002) based on simulation start and stop times. You can disable this diagnostic by explicitly specifying a fixed step size in the solver tab of the simulation parameters dialog, or setting 'Automatic solver parameter selection' diagnostic to 'none' in the Diagnostics tab of the configuration parameters dialog.
然后设置fixed step 为0.002后就没有警告了。
但是速度不是从零开始的,为什么呀。怎么样才可以让速度从零开始?