Trying to call ode45 - Undefined function or variable
Show older comments
I wrote a function that will be integrated with the ode45 command. I'm having trouble with a variable in the function. I do not have the variable defined in the function, but it is defined in another script, where I'm trying to call ode45 on the function in that script, but it's saying that the variable is undefined. Anyone have any ideas how I could call ode45 on a function with a variable defined somewhere else?
Answers (2)
Blah
on 5 May 2013
0 votes
Categories
Find more on Programming in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!