Error using odearguments (line 93) must return a column vector
Mostrar comentarios más antiguos
Why does it have to return a column vector?
How can I fix this?
1 comentario
Image Analyst
el 28 de Nov. de 2020
Fix what???
Respuestas (1)
Add this line in your ode function at the last line:
NameOfYourOutputVariable = NameOfYourOutputVariable(:);
This should fix the error.
Categorías
Más información sobre Ordinary Differential Equations en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!