Internal error with symbolic engine. Quit and restart MATLAB.

9 次查看(过去 30 天)
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