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

18 Ansichten (letzte 30 Tage)
Stephanie Rupert Jackson
Stephanie Rupert Jackson am 28 Nov. 2020
Kommentiert: Image Analyst am 28 Nov. 2020
Why does it have to return a column vector?
How can I fix this?

Antworten (1)

Stephan
Stephan am 28 Nov. 2020
Bearbeitet: Stephan am 28 Nov. 2020
Add this line in your ode function at the last line:
NameOfYourOutputVariable = NameOfYourOutputVariable(:);
This should fix the error.

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by