Error using odearguments (line 93) must return a column vector

Answers (1)

Add this line in your ode function at the last line:
NameOfYourOutputVariable = NameOfYourOutputVariable(:);
This should fix the error.

Categories

Find more on Programming in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!