Matlab M-function 'cldesf'

  • Thread starter sami23
  • Start date
  • #1
76
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, ...
 

Attachments

  • matlab 2.pdf
    796.1 KB · Views: 156
  • matlab 3.pdf
    678.8 KB · Views: 133

Answers and Replies

  • #2
26
0
Check to make sure where you saved it is also your working directory
 

Related Threads on Matlab M-function 'cldesf'

  • Last Post
Replies
11
Views
2K
  • Last Post
Replies
3
Views
8K
  • Last Post
Replies
4
Views
2K
  • Last Post
Replies
1
Views
4K
  • Last Post
Replies
2
Views
18K
  • Last Post
Replies
4
Views
6K
  • Last Post
Replies
1
Views
4K
Replies
1
Views
2K
  • Last Post
Replies
5
Views
41K
Replies
1
Views
2K
Top