I found a different way to set up my ODEs so I don't need symbolic variables and therefore odeFunction (thus, avoiding the problem), but I am still curious about this.
Info
この質問は閉じられています。 編集または回答するには再度開いてください。
odeFunction, many variables
1 回表示 (過去 30 日間)
古いコメントを表示
Does odeFunction(expr, vars) have a maximum number of symbolic variables/equations?
I ask because I am working with a rather large (total = N^3) number of ODEs. When N=10 or less, my code runs. When N=11, I get
Error using mupadengine/feval (line 187)
Duplicate variables specified in second argument.
Error in sym/odeFunction (line 118)
A = feval(symengine, 'daetools::odeFunction', expr, vars, params{:});
Error in MAIN (line 212)
ode_fun = odeFunction(x_dot,x);
when calling odeFunction.
1 件のコメント
回答 (1 件)
Ayush Gupta
2020 年 9 月 4 日
I have brought this issue to the notice of our developers. They will investigate the matter further.
0 件のコメント
この質問は閉じられています。
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!