作业帮 > 英语 > 作业

simulink Warning:The model 'untitled' does not have continuo

来源:学生作业帮 编辑:作业帮 分类:英语作业 时间:2024/05/25 22:49:49
simulink
Warning:The model 'untitled' does not have continuous states,hence Simulink is using the
solver 'VariableStepDiscrete' instead of solver 'ode45'.You can disable this diagnostic by
explicitly specifying a discrete solver in the solver tab of the Configuration Parameters
dialog,or by setting the 'Automatic solver parameter selection' diagnostic to 'none' in the
Diagnostics tab of the Configuration Parameters dialog
而且没有预想的结果

 
不是错误,是警告,没有关系的.警告的意思是你的模型中没有连续模块,因此不用采用连续求解器ode45,matlab已经自动给你用离散变步长算法代替.另外你可以在配置参数里面,求解器的那一页,将警告关掉
再问: 那 FCN的里的u怎设置初始值?否则一直都没有要的结果,只是定值
再答: u就是前面的延时模块,设置unit delay初值就是u的初值