*simulink常见报错 |
您所在的位置:网站首页 › matlab常见报错 › *simulink常见报错 |
求解器错误is a system of differential-algebraic equations. The solver 'ode45' is not intended for differential-algebraic systems. Consider using ode15s or ode23t for variable-step simulation and ode14x for fixed step simulation. 直接翻译:是微分代数方程组。 求解器“ ode45”不适用于微分代数系统。 考虑将ode15s或ode23t用于可变步长仿真,将ode14x用于固定步长仿真。很多报错翻译一下就知道咋办了,至少原因和错误的地方是给出来了的。 解决方法: 点击齿轮:model setting 修改solver(按照报错里的改,或者使用auto) 参与代数循环Block 'DDPG/Water-Tank System/Descriptor State-Space' is involved in an algebraic loop. Simulink does not support this block in an algebraic loop. 参考资料: 一般情况下,根据输入计算输出, 但是模型中存在 又根据输出计算输入的情况,这样形成了一个环。 有相关的解决方法,这里不列举。我是由于使用状态方程表示出了问题,修改为一般的框图表示就好了。 LifeSpan 错误Invalid value for LifeSpan parameter. LifeSpan value must be a positive double scalar.Error while evaluating LifeSpan parameter. Default application life span (1) day will be usedlifespan设置错误 解决方法: 1.选择model setting 2.搜索lifespan 3.修改为一个正数 LoggingIntervalsError evaluating expression '[-inf, inf]' for 'LoggingIntervals' specified in the Configuration Parameters dialog for block diagram 'T3LQR'. Undefined function 'uminus' for input arguments of type 'struct'. Logging Intervals设置出错 解决方法同上,修改为 |
今日新闻 |
推荐新闻 |
CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3 |