How to change symbolic solver from maple to matlab

Hi I installed maple and the symbolic toolbox use maple as solver. But I want to go back to the matlab solver, how to do it?

4 commentaires

One of the temp solutions is: 1) open the toolbox directory of your MATLAB package: ...\toolbox\symbolic\symbolic\@mupad 2) run the m-file called: mupad.m
Your mupad/symbolic math is back to work for this session only. Every time you need the toolbox you would need to re-run this m-file from its (the above shown) directory. NB. you copy and paste this file to a different directory, it does not work.
Uninstalling and other actions may not work as anticipated in some cases.
Thus, it is best to execute the file: >>symengine.p
from (your MATLAB installed directory): \...\toolbox\symbolic\symbolic
Otherwise, it does not work.
hi. I used matlab 2018a and maple2018. but I uninstalled maple and now when I type syms x there is this error:
Undefined function or variable 'syms'
how can I use my symbolic math toolbox again?
Hi,Najmeh, I met the same question as you. And I solve it in this way: I use Matlab 2018b,and in MATLAB --> HOME -->Set Pat, choose the path as to ***\toolbox\symbolic\symbolic and it works.

Connectez-vous pour commenter.

Réponses (5)

Walter Roberson
Walter Roberson le 6 Avr 2016

3 votes

If you look under the Maple installation directory you should be able to find a script or app to uninstall the Maple Toolbox. The exact name depends on your operating system. (I cannot check mine for a few hours)

1 commentaire

If you are using the Maplesoft provided Maple Toolbox (for MATLAB), then:
At least on OS-X, under the MATLAB installation directory (MATLAB command matlabroot will show you its name), there is an Uninstall_MapleToolbox folder that contains an uninstall program. For example on my OS-X system it is
/Applications/MATLAB_R2014a.app/Uninstall_MapleToolbox/uninstall.app

Connectez-vous pour commenter.

Hi Xianjie,
MUPAD engine replaced Maple engine starting from MATLAB version R2007b+ and hence option was provided to switch to Maple engine if one has compatible version of a Maple software installed.
Entering the following command at the MATLAB command line would bring up a GUI for making your choice:
>>symengine
However, this option was made available in MATLAB R2007b+, R2008a+, R2008b, R2009a and R2009b. Starting from MATLAB version R2010a, the option to switch to Maple engine was removed and MUPAD was made the default and the only supported engine.
Since you mentioned that you were able to switch to Maple engine successfully I assume that you are using one of these MATLAB version - R2007b+, R2008a+, R2008b, R2009a and R2009b. If so, you can switch to the default MUPAD by using command 'sysengine' as shown above.

1 commentaire

It is best to execute the file: >>symengine.p
from (your MATLAB installed directory): \...\toolbox\symbolic\symbolic
Otherwise, it does not work.

Connectez-vous pour commenter.

Om Yadav
Om Yadav le 24 Avr 2020

1 vote

One line solution: MATLAB --> HOME -->Set Path --> Default --> Save.
sujay dolai
sujay dolai le 6 Août 2020

0 votes

guys how to use maple toolbox in matlab, as because few programs are written using maple toolbox.

1 commentaire

install "Maple Toolbox (for MATLAB)" provided by Maplesoft. When you do that, the maple related directory will be put on the matlab path earlier than the matlab symbolic toolbox, so functions such as syms will get resolved by the maple version.
Note: when you go to install maple if it detects that matlab is installed it asks you if you want the appropriate toolbox installed for MATLAB, so it is common to not need to specifically run the installer as the sequence would run the installer on your behalf.

Connectez-vous pour commenter.

Siavash
Siavash le 22 Juil 2023

0 votes

You just need to remove the Maple's toolbox folder from the Matlab Saved Paths so that when you call a function, it doesn't use the Maple toolbox.

Catégories

Community Treasure Hunt

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

Start Hunting!

Translated by