我有一个包含 SimElectronics 和 SimMechanics 模块的 Simulink R2015b 模型。这个模型是实用的。我的一位同事要求将模型导出到 R2015a。但是,当我执行此模型时,我收到以下错误消息:
Component: Simulink | Category: Model error
* ['model name']: Not enough input derivatives were provided for one or more Simulink-PS Converter blocks for the solver chosen. Implicit solvers (ode23t, ode15s, and ode14x) typically require fewer input derivatives than explicit solvers, and local solvers never require any. You can provide more input derivatives by selecting different options (turning input filtering on, for instance) on the Input Handling tab of Simulink-PS Converter blocks linked below: ...'model name/DC_motor/Simulink-PS Converter' (1 required, 0 provided)
这是什么意思以及我可以采取什么措施来解决这个问题?
最佳答案
我发现,将 Simulink 文件从 R2015b 导出到 R2015a 时,求解器从“可变时间步长,自动”更改为“可变时间步长,ode45”。我手动选择了另一个可变时间步求解器,并且不再收到错误。
关于matlab - 将带有 Simscape 模块的 Simulink 模型从 R2015b 导出到 R2015a 时如何解决此兼容性问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35940591/