debugging problem with ode45

Error using ==> exist The first input to exist is a string.

You are now following this Submission

??? Error using ==> exist
The first input to exist is a string.

Error in ==> odearguments at 80
if (exist(ode)==2) % M-file

Error in ==> ode45 at 173
[neq, tspan, ntspan, next, t0, tfinal, tdir, y0, f0, odeArgs, odeFcn, ...

Error in ==> co2 at 20
[t,y]=ode45(dy,[0 3000],ones(12,1),options)

Cite As

xue (2026). debugging problem with ode45 (https://ch.mathworks.com/matlabcentral/fileexchange/35065-debugging-problem-with-ode45), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0