如何让以下内容运行?我现在已经第三次构建了它,但我仍然无法解决这个问题。
我正在尝试在MATLAB / Simulink中运行模拟。整件事已在this paper but without Simulink完成。
MATLAB代码包含积分器的参数和初始条件:
clear all;
close all;
clc;
a = 3;
b = 14;
c = 3.9;
ic = [0.2 0.4 0.2]; % initial conditions
sim('Project_Simulink.slx');
错误是:
Derivative of state '1' in block 'Project_Simulink/Integr2'
at time 1.4998474537105659 is not finite. The simulation will be
stopped. 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)
如何解决这个问题?