Ode45 Error; Odearguments (Line 95) (Line115) Help!
이전 댓글 표시
For some reason when trying to use the ode45 command, I get the errors as described above. I've inserted my code and hope someone can help me. I have no idea what I've done.

답변 (1개)
Walter Roberson
2017년 2월 24일
0 개 추천
One of your global variables has not been assigned a value so your calculation is returning the empty matrix.
This is one of the reasons to avoid using global. And global is the slowest way to access variables so avoid it in a routine called many times
카테고리
도움말 센터 및 File Exchange에서 Ordinary Differential Equations에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!