How to load ODE functions (ie. ODE1, ODE2) to call/reference?

1 view (last 30 days)
I just watched a great video by Cleve Moler using ODE1, ODE2 (I am very new to Matlab). I tried to follow the code and his video (via command window); however, I get the error 'ODE1 not found'. I am not sure how to load this function? Thank you!!
  5 Comments
CT
CT on 19 Oct 2018
Hi Madhan, It does not seem to be in my version as I get the error message: "Undefined function or variable 'ode1'." I also searched the documentation for ode1, ode2, etc. and Matlab documentation/help did not produce any results. Is it possible I don't have access because of my version of Matlab (student)? Thank you.

Sign in to comment.

Answers (1)

Steven Lord
Steven Lord on 19 Oct 2018
On that video's page, right above the video transcript, there's a link "Related MATLAB code files can be downloaded from MATLAB Central". Did you download them? The ode1 and ode2 functions are part of that File Exchange submission.

Products


Release

R2018a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!