Trying to call ode45 - Undefined function or variable
显示 更早的评论
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?
回答(2 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Programming 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!