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

Why does it have to return a column vector?
How can I fix this?

回答 (1 件)

Stephan
Stephan 2020 年 11 月 28 日
編集済み: Stephan 2020 年 11 月 28 日

0 投票

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

カテゴリ

タグ

質問済み:

2020 年 11 月 28 日

コメント済み:

2020 年 11 月 28 日

Community Treasure Hunt

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

Start Hunting!

Translated by