Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

odeFunction, many variables

1 Ansicht (letzte 30 Tage)
Meatloaf
Meatloaf am 28 Aug. 2020
Geschlossen: MATLAB Answer Bot am 20 Aug. 2021
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 Kommentar
Meatloaf
Meatloaf am 28 Aug. 2020
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.

Antworten (1)

Ayush Gupta
Ayush Gupta am 4 Sep. 2020
I have brought this issue to the notice of our developers. They will investigate the matter further.

Produkte


Version

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by