Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

odeFunction, many variables

조회 수: 1 (최근 30일)
Meatloaf
Meatloaf 2020년 8월 28일
마감: MATLAB Answer Bot 2021년 8월 20일
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
Meatloaf
Meatloaf 2020년 8월 28일
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.

답변 (1개)

Ayush Gupta
Ayush Gupta 2020년 9월 4일
I have brought this issue to the notice of our developers. They will investigate the matter further.

이 질문은 마감되었습니다.

제품


릴리스

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by