Internal error with symbolic engine. Quit and restart MATLAB.

조회 수: 10 (최근 30일)
Tony Cheng
Tony Cheng 2019년 5월 19일
댓글: Tony Cheng 2019년 6월 2일
Hi guys,
I am using symbolic math toolbox in Matlab 2018b in Win10 64-bit.
The problem is
Error mupadmex
Internal error with symbolic engine. Quit and restart MATLAB.
Error in sym/matlabFunction>mup2mat (line 404)
res = mupadmex('symobj::generateMATLAB',r.s,ano,spa,0);
Error in sym/matlabFunction>writeOutput (line 540)
body = mup2mat(y,false,sparseMat);
Error in sym/matlabFunction>writeMATLAB (line 453)
writeOutput(fid,outputs,f,1,sparseMat);
Error in sym/matlabFunction (line 183)
g = writeMATLAB(funs,file,varnames,outputs,body, opts.Optimize, opts.Sparse, opts.Comments);
Error in sym/odeFunction (line 135)
f = matlabFunction(expr, 'Vars', varsAndParams, matlabFunOptions{:});
Error in the_method_7 (line 180)
combined_mass_matrix_handle1 = odeFunction( Mrr , p_inde( 1 : 16 ) , 'Sparse' , true ,
'Optimize', false , 'File' , 'mass_matrix_file') ;
Are there any solutions to this? Many thanks!
  댓글 수: 24
Tony Cheng
Tony Cheng 2019년 6월 2일
Hi Walter, today I have an idea in this trouble.
Because the symbolic expression of this problem is extraordinarily lengthy and complicated, and we have the initial values of the symbolic variables, Could we transfer them from symbolic expressions into numercial expressions before we use odeFunction, as shown in the attachment pdf file?
If yes, the computational burden can be alleviated a lot when sending relevant matrixes into odeFunction .
Many thanks for your great help!
Tony Cheng
Tony Cheng 2019년 6월 2일
For R2019a, I will try to find some access to it from my workmates. I will try this new version definitely.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 MuPAD에 대해 자세히 알아보기

제품


릴리스

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by