matlab的simulink中出现警告VariableStepDiscrete' instead of solver 'ode45'

在simulink中自己构建了一个DSPBuilder的文件,仿真时出现如下警告:

Warning: The model 'MM_chaos_text1_simple' 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 


意思是说你的model里面不连续,应该使用VariableStepDiscrete仿真模式,而不是ode45模式。
有两种更改方法:
1、在该model的工具栏上选择simulation,再选择并进入configuration parameters界面,从solver里面设置,type设置为variable-step,solver设置为discrete;
2、或者在Diagnostics子菜单里将'Automatic solver parameter selection' 设置为none。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值