如何运行以下命令?我现在第三次构建它,我仍然没有解决方案 .
我想在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)
如何解决?