matlab 仿真 报错,matlab仿真错误记录

1. 求数值积分quadl函数。被积函数表达式需要写成点乘(点操作)的形式, 否则要不积出的结果不对,要么报错。

2. simulink的打开错误:Unable to open the block or model file named '*'.

解决:路径不对,将当前路径切换到模块所在路径。

3. simulink运行时出现Warning: The model '*‘ does not have continuous states, hence using the solver 'VariableStepDiscrete' instead of the solver 'ode45' specified in the Configuration Parameters dialog.

这是一个警告,对仿真结果没有影响,去掉的方法是:Simulation -> Configuration Parameters中的solver选择'Discrete (no continuous states)'。

该警告出现的原因:The reason for the first warning is because you don't have any continuous states in your model, only discrete states, so Simulink changed the solver from ode45 (which is what you specified the solver to be, and which is a variable-step solver that handles continuous states) to the "VariableStepDiscrete" solver, which is also a variable-step s

  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值