关于matlab/simulink仿真过程出现的问题!

来源:百度知道 编辑:UC知道 时间:2024/06/04 15:00:24
仿真时出现仿真诊断“Derivative input 1 of 'wenya_filer/Transfer Fcn'(文件名) at time 0.2686788627406385 is Inf or NaN. Stopping simulation. There may be a singularity in the solution. If not, try reducing the step size (either by reducing the fixed step size or by tightening the error tolerances).”这是什么原因?

你的问题出现奇异了

检查你的状态函数或者状态空间是不是有错

换一个解算器,不要使用默认的ode45,还有就是将你的误差容限和步长设置小些

设置方法在simulation——》configuration parameters——》solver选项卡

%by dynamic
%see also http://www.matlabsky.com
%contact me matlabsky@gmail.com
%2009.2.
%