Error using syms x: mupadmex,sym>cell2ref,sym>tomupad
显示 更早的评论
I used 2018 matlab on my macOS and at some point syms x does not work, it produces errors. I add that this issue persists on my windows 10 pc. I have tried reinstalling, and downgraded to 2017 (currently)
The error produces:
>> syms x
Error using mupadmex
Error in MuPAD command:
Error in sym>cell2ref (line 1308)
S = mupadmex(y);
Error in sym>tomupad (line 1246)
S = cell2ref(numeric2cellstr(x));
Error in sym (line 199)
S.s = tomupad(x);
Error in syms (line 192)
toDefine = sym(zeros(1, 0));
specs:
MATLAB Version: 9.2.0.556344 (R2017a)
MATLAB License Number: STUDENT
Operating System: Mac OS X Version: 10.11.6 Build: 15G22010
Java Version: Java 1.7.0_75-b13 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
MATLAB Version 9.2 (R2017a)
Simulink Version 8.9 (R2017a)
Control System Toolbox Version 10.2 (R2017a)
DSP System Toolbox Version 9.4 (R2017a)
Image Processing Toolbox Version 10.0 (R2017a)
Instrument Control Toolbox Version 3.11 (R2017a)
Optimization Toolbox Version 7.6 (R2017a)
Signal Processing Toolbox Version 7.4 (R2017a)
Simulink Control Design Version 4.5 (R2017a)
Statistics and Machine Learning Toolbox Version 11.1 (R2017a)
Symbolic Math Toolbox Version 7.2 (R2017a)
11 个评论
Walter Roberson
2018-7-23
Is it possible that you have Maple installed?
For your Windows 10 system, did you do the Windows 10 April update? If so then have you installed the MATLAB patch for R2017b and R2018a ?
Jordan Dion
2018-7-24
Walter Roberson
2018-7-24
编辑:Walter Roberson
2018-7-24
If you do
which -all mupadmex
do you see something like
/Applications/MATLAB_R2017a.app/toolbox/symbolic/symbolic/mupadmex.mexmaci64
Jordan Dion
2018-7-24
Walter Roberson
2018-7-24
Possibly one of the needed libraries is missing. If so then it is probably one of the MATLAB provided libraries and would require a reinstallation of MATLAB.
If you want to try to investigate missing libraries to figure out exactly which one, then you could go into Terminal and start with
otool -L /Applications/MATLAB_R2017a.app/toolbox/symbolic/symbolic/mupadmex.mexmaci64
and where it says @rpath in the outputs, look in /Applications/MATLAB_R2017a.app/bin/maci64
Jordan Dion
2018-7-24
编辑:Jordan Dion
2018-7-24
Ray
2018-8-2
编辑:Walter Roberson
2018-8-2
This is a solution provided in another thread.
Fran Alderisio on 22 May 2018
Update: https://uk.mathworks.com/downloads/web_downloads/show_updates?release=R2018a
How to install: https://uk.mathworks.com/content/dam/mathworks/mathworks-dot-com/support/updates/r2018a/r2018a-updates-install-instructions.pdf
Xizixiang Wei
2018-9-13
I have the same problem using syms and I use Matlab 2018b with student license on macOS too, have you solved this issue? It bothered me a lot.
Walter Roberson
2018-9-13
R2018b was just released yesterday it looks like. Is it possible you are using r2018a?
Jordan Dion
2018-9-13
Jordan Dion
2018-9-21
回答(3 个)
Yiqian Qian
2019-8-16
0 个投票
Same problem for MATLAB r2019a on my MBP
3 个评论
Walter Roberson
2019-8-16
Which MacOS release are you using?
Yuhan Li
2020-5-8
me too, and i dont know why
Walter Roberson
2020-5-9
It appears that there are problems using Mojave or Catalina until one of the R2019b updates.
Matthew Love
2019-10-6
0 个投票
Also having this issue
Currently on OS 10.14.6 "Mojave"
Originally booted up Matlab 2017 (cannot remember a or b) and tried to use 'syms' command. Gave me the "mupadex" error. First time I've ever seen that. No issues last time I used it.
Could not find way around it, so I deleted Matlab entirely and upgraded to 2019b, and the issue persists unchanged.
1 个评论
Walter Roberson
2019-10-6
Note: R2017* were not supported on Mojave.
r_avelino
2020-2-11
Same problem here. Can not use syms function.
I am using Matlab2019b in MacOS Catalina 10.15.2
This is what I get in my Matlab Terminal when I try to create the symbolic varible:
>> syms x;
Error using mupadmex
Error in MuPAD command: .
Error in sym>tomupad (line 1250)
S = mupadmex(numeric2cellstr(x));
Error in sym (line 217)
S.s = tomupad(x);
Error in syms (line 232)
defined = sym(zeros(1, length(args)));
It was working properly before but I can not precise when it stoped to work. If I type the command suggested above I get the corresponding adress for the mupadmex.mexmaci64 file.
which -all mupadmex
2 个评论
Walter Roberson
2020-2-11
There is a known problem with using symbolic toolbox with Catalina. My understanding is that it was fixed by one of the updates for R2019b so install the update if you did not do so already.
Earlier MATLAB releases are not supported for Catalina.
r_avelino
2020-2-11
Thanks for the answer Walter. Indeed I updated to Matlab 2019b and the problem with the symbolic variables is fixed
类别
在 帮助中心 和 File Exchange 中查找有关 Code Performance 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!