필터 지우기
필터 지우기

Installed Symbolic Math Toolbox but cannot find \toolbox\s​ymbolic\sy​mbolic path

조회 수: 5 (최근 30일)
I've installed the Symbolic Math Toolbox and cannot use its function due to its dependence on maple (example below).
However, following the steps in https://www.mathworks.com/matlabcentral/answers/440286-error-using-sym-solve-and-maplemex, when I remove the maple directory that removes all of my ability to use any syms function. I know that this is because I do not have the \toolbox\symbolic\symbolic path when I use pathtool, and only have the maple/ and maple/util folders. How can I get the actual symbolic path in order to use the toolbox properly? I've uninstalled and reinstalled and the toolbox simply does not use anything else besides Maple, and I do not have the Maple toolbox installed.
  댓글 수: 1
Juliet Jiang
Juliet Jiang 2023년 12월 13일
I think this is also related to how "symengine" is undefined in my command window, yet many threads say to call it and choose MuPAD.

댓글을 달려면 로그인하십시오.

채택된 답변

Walter Roberson
Walter Roberson 2023년 12월 14일
First, quit matlab.
Second, uninstall Maple. You will find the uninstaller at the top level of the directory that Maple is installed in, with a name similar to "Uninstall Maple 2023"
Thirdly, install MATLAB Symbolic Toolbox. When finished you can start up MATLAB (optional)
Fourth (option) install Maple. This time, do NOT tell it to install anything for MATLAB. It will (probably) prompt you with the name of the MATLAB installation directory: do NOT put anything there.
  댓글 수: 3
Walter Roberson
Walter Roberson 2023년 12월 14일
First in MATLAB, command
prefdir
Make note of the directory indicated.
Then, uninstall MATLAB and make sure that the toolbox/maple directory is gone.
Third, rename the directory that showed up in prefdir, to something else.
Fourth, reinstall MATLAB, including the Symbolic Engine.
Fifth, fire up MATLAB again and make sure everything is okay.
If everything is okay, you can consider quiting MATLAB and copying files from the renamed prefdir into the prefdir -- if you had done a fair bit of customization of the MATLAB environment.
Juliet Jiang
Juliet Jiang 2023년 12월 14일
Hi Walter,
Thank you for your help! I didn't need to uninstall MATLAB in the end. I found the symbolics/symbolics directory deep in my finder even though previous searches were unsuccessful and was able to manually add it to the pathtool. Incredibly grateful for your help.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

태그

제품


릴리스

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by