error using sym/solve and maplemex

Screenshot (109).png
Hi! Whenever I try and solve a systems of equations such as the simple one above, an error like this one shows up, where it says that there was a problem using sym/solve and maplemex. This is a problem I've had since December and I have no idea how to fix it. I have the symbolic math toolbox installed, so that does not seem to be the issue. Any help would be greatly appreciated!

回答(3 个)

You accidentally installed the MATLAB Connector for Maple when you installed Maple. You need to go into your Maple installation directory and find the uninstaller for the connector.
Or you could remove the Maple stuff off of your MATLAB path using pathtool.
which -all syms
will probably show two directories, one of which involves the word 'maple': go into pathtool and find that directory in the list and click on it and click 'remove', then Save, then Close.

5 个评论

Hi, thank you so much for your help! I looked into the pathtool and found two directories with "maple," pasted below. I'm unsure of the difference, and was hesitant to remove both without asking first. Is there a specific one I should remove or are both supposed to be removed? Again, thanks so much!
  • C:\Program Files\MATLAB\R2018a\toolbox\maple
  • C:\Program Files\MATLAB\R2018a\toolbox\maple\util
Remove both of them.
Hi! I am receiving similar errors as Rachelle with "Errors using maplemex" but removing those folders only removed my ability to even use the "syms" function. Do you have an alternative?
Now install the Symbolic Toolbox
Hi Walter, I did install the Symbolic Toolbox at first, had the same errors, removed those folders, and reinstalled the toolbox. However, reinstalling the toolbox only brought the same maple directories back, and I would receive the same errors again. You said that using
which -all syms
would show two directories but it only shows one for me -- the one with "maple." I believe this is related to the fact that I do not have a toolbox/symbolics/symbolics path in my pathtool. Is there a way I can manually get that path?

请先登录,再进行评论。

yang
yang 2024-5-11
I meet the same error, and I fix the problem just by clicking HOME -- Set Path -- Default.
I was not able to reproduce that error , do you have a valid license for it ?
license('test','symbolic_toolbox') % should return 1
It‘s better to contact Mathworks Support Team by clicking the Contact Us button on the top right corner of this page.

3 个评论

Also suspect there is Maple shadowing the symbolic inbuilt function solve()
I checked and I do have the license for it, I'll try contacting the support team, thanks!
And I'm sorry, but what do you mean by there is a Maple shadowing? I've only been using Matlab on and off for a few months and am unfamiliar with a lot of terms.
Anytime :) , just contact them , pretty sure they will help you.

请先登录,再进行评论。

产品

版本

R2018a

回答:

2024-5-11

Community Treasure Hunt

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

Start Hunting!

Translated by