Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Matlab M-function 'cldesf'

  1. Nov 9, 2011 #1
    I can't recreate a Matlab example on Matlab 7.12.0 that is straight from the book:

    How do I call M-function cldesf?

    This is the error I get:

    >> [t,x]=ode23('cldesf',[t0,tf],x0t,[],A);
    ??? Error using ==> feval
    Undefined function or method 'cldesf' for input arguments of type 'double'.

    Error in ==> odearguments at 98
    f0 = feval(ode,t0,y0,args{:}); % ODE15I sets args{1} to yp0.

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

    Attached Files:

  2. jcsd
  3. Nov 16, 2011 #2
    Check to make sure where you saved it is also your working directory
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook




Similar Discussions: Matlab M-function 'cldesf'
  1. Matlab scribt (Replies: 12)

  2. Problem with Matlab (Replies: 2)

  3. Learning Matlab (Replies: 3)

  4. A matlab question (Replies: 4)

Loading...