Cannot Use Syms Function, "Error using mupadmex Error in MuPAD command"
Mostrar comentarios más antiguos
Hi,
I am using trial Matlab 2017a on my MacBook (Retina, 12-inch, Early 2016, OSX 10.12.5).
And I just found that the syms function cannot work. The command I input and returned information is as below: Trial>> 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));
Any solution for this problem? Thank you.
PS: Trial>> ver ---------------------------------------------------------------------------------------------------- MATLAB Version: 9.2.0.556344 (R2017a) MATLAB License Number: DEMO Operating System: Mac OS X Version: 10.12.5 Build: 16F73 Java Version: Java 1.7.0_75-b13 with Oracle Corporation Java HotSpot™ 64-Bit Server VM mixed mode ---------------------------------------------------------------------------------------------------- MATLAB Version 9.2 (R2017a) Simulink Version 8.9 (R2017a) Communications System Toolbox Version 6.4 (R2017a) Computer Vision System Toolbox Version 7.3 (R2017a) Control System Toolbox Version 10.2 (R2017a) Curve Fitting Toolbox Version 3.5.5 (R2017a) DSP System Toolbox Version 9.4 (R2017a) Database Toolbox Version 7.1 (R2017a) Global Optimization Toolbox Version 3.4.2 (R2017a) Image Acquisition Toolbox Version 5.2 (R2017a) Image Processing Toolbox Version 10.0 (R2017a) Instrument Control Toolbox Version 3.11 (R2017a) Neural Network Toolbox Version 10.0 (R2017a) Optimization Toolbox Version 7.6 (R2017a) Parallel Computing Toolbox Version 6.10 (R2017a) Signal Processing Toolbox Version 7.4 (R2017a) Simulink Control Design Version 4.5 (R2017a) Stateflow Version 8.9 (R2017a) Statistics and Machine Learning Toolbox Version 11.1 (R2017a) Symbolic Math Toolbox Version 7.2 (R2017a) System Identification Toolbox Version 9.6 (R2017a)
And I tried the commands: restoredefaultpath rehash toolboxcache
but they did not help.
1 comentario
Bharat Kanwar
el 13 de Abr. de 2018
I am also having the same problem. While stepping through the sym.m file, it seems that the string parameter x for tomupad() is actually an empty 1 by 0 cell which is causing the error later on since the mupadmex function requires a string input. I'm not sure if there's any clear way to fix this. My last ditch effort will be to reinstall matlab and hope the issue fixes itself. Can someone else please look into this?
Respuestas (4)
Nikhil Jayswal
el 14 de Abr. de 2018
Editada: Nikhil Jayswal
el 14 de Abr. de 2018
1 voto
Actually, don't do that. It hung my system. But found the solution too. Rename the libfreetype.so files in /MATLAB installation dir/bin/glnxa64 to whatever you like. I found this solution here: https://bugs.archlinux.org/task/57948 and https://forums.gentoo.org/viewtopic-t-1078610-start-0-postdays-0-postorder-asc-highlight-.html?sid=ab27c1ca8e1927691858595185e18284
1 comentario
Abdullah Al Mahmud
el 22 de Sept. de 2018
This works. Thanks
Nikhil Jayswal
el 14 de Abr. de 2018
0 votos
I am having the same problem myself, all of a sudden.
Nikhil Jayswal
el 14 de Abr. de 2018
0 votos
I am on a Linux System (Manjaro Linux 17). Fixed the issue by downgrading the fontconfig package. I noticed an error message in the terminal that gave me the idea. Hope it helps you.
Yiqian Qian
el 16 de Ag. de 2019
0 votos
same problem
Categorías
Más información sobre Code Performance en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!