SIMULINK matlab function模块出问题 。
이전 댓글 표시
设计了一个求常微分方程的模块,我把slx文件和相关的m文件发上来,请各位老师帮我看看。

matlab function里的代码:
function [y1,y2] = ODE_solver(u1,u2,u3)
tspan=[0 10];
[t,ysol]=ode45('Gsolve_aug',tspan,[0.001 0],[],u1,u2,u3)
y1=ysol(1,:);
y2=ysol(2,:);
下面是调用的m文件和模型slx文件。
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 常微分方程에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!