sym x returns error symbolic math toolbox is installed

x = sym('x')
Error using sym (line 186)
Invalid MEX-file 'C:\Program Files\MATLAB\R2019a\toolbox\maple\maplemex.mexw64': Missing dependent shared libraries:
'maplecr.dll' required by 'C:\Program Files\MATLAB\R2019a\toolbox\maple\maplemex.mexw64'
'icudt61.dll' required by 'C:\Program Files\MATLAB\R2019a/bin/win64\icuuc61.dll->C:\Program
Files\MATLAB\R2019a/bin/win64\icuin61.dll->C:\Program Files\MATLAB\R2019a/bin/win64\libmwi18n.dll->C:\Program
Files\MATLAB\R2019a/bin/win64\libmwfl.dll->C:\Program Files\MATLAB\R2019a/bin/win64\libmex.dll->C:\Program
Files\MATLAB\R2019a\toolbox\maple\maplemex.mexw64'
Error in syms (line 47)
assignin('caller',varargin{1},sym(varargin{1}));

Answers (1)

You appear to be using a 32 bit version of Maplesoft's MATLAB Connector package to interface between MATLAB and Maplesoft's maple product.
If you want to use the maple software package as your symbolic package inside MATLAB, then you will need a 64 bit version of it. The 64 bit version of icudt61.dll is just named icudt.dll ; see https://www.mathworks.com/matlabcentral/answers/488651-need-icudt61-dll-when-using-vlfeat-in-matlab-2019a#answer_399265
If you want to use Mathwork's MuPAD based symbolic package, then in MATLAB use pathtool to remove all references to maple

6 Comments

well mostly mupad wasn't working so I wanted to check if symbolic math was installed so I ran syms x to check ...
p.s. why does icudt.dll say it's for windows 32 bit? https://www.dll4free.com/icudt.dll.html
I am not sure now about which is 32 or 64 bit. The primary source is http://site.icu-project.org/download/61
MuPAD is not working because you installed the MATLAB Connector for Maple . You should use pathtool to remove the references to maple from your path.
Dear Walter Roberson,
I am also having a similar error. But your answer is not correct. I would like to ask my question under this question/answer since it is related a similar one.
I have 64bit Windows, using MATLAB 64bit. I used to use MATLAB symbolic toolbox with no error. Recently I installed 64bit Mapple. During install, I choose the tick for Mapple-MATLAB integration. However, I am having error in MATLAB while trying to attempt to use MATLAB symbolic toolbox. I am sure I have Windows, MATLAB and Mapple as 64bits. I checked "Program Files(x86)" directory to be sure. MATLAB and Mapple is not that directory. Could you help me? My error is this:
>> syms x
Error using sym (line 186)
Invalid MEX-file 'C:\Program Files\MATLAB\R2019b\toolbox\maple\maplemex.mexw64': C:\Program
Files\MATLAB\R2019b\toolbox\maple\maplemex.mexw64 is not a valid Win32 application.
Error in syms (line 47)
assignin('caller',varargin{1},sym(varargin{1}));
In order to use the MATLAB symbolic toolbox you will need to remove toolbox\maple from your MATLAB path or you will need to uninstall the connector software. The MATLAB symbolic toolbox and the Maple connector conflict and cannot both be used at the same time.
how to remove toolbox\maple from my MATLAB or uninstall the connector software?
You can use pathtool to remove the directory from your path without uninstalling.
To uninstall, look in the Maple application directory; you will find a tool there to uninstall the Connector.

Sign in to comment.

Products

Release

R2019a

Asked:

on 5 Nov 2019

Commented:

on 21 Mar 2023

Community Treasure Hunt

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

Start Hunting!