Calling Maple from Matlab
이전 댓글 표시
For one of my classes I am implementing a model from a published paper. The code for the model I chose calls maple. I have installed Maple and can call Matlab from Maple but I cannot get the maple function to work from matlab.
For example:
> maple('restart')
Results in the following error:
> Undefined function or variable 'maple'.
Im new to Matlab and have never used Maple but I cannot seem to find an answer online.
Any help would be greatly appreciated.
답변 (3개)
M
2018년 10월 30일
0 개 추천
Maple is not a built-in function that you can call in matlab.
If you have installed Maple on your computer, you can launch it from Matlab using the system command.
댓글 수: 2
Kathleen T. Nevola
2018년 10월 30일
Walter Roberson
2019년 11월 3일
maple() was a function that was available with the Extended Symbolic Toolbox before MATLAB switched to MuPAD based symbolic operations.
Steven Lord
2018년 10월 30일
0 개 추천
The Symbolic Math Toolbox used to be based on the Maple Engine, but in release R2007b+ the MuPAD Engine replaced that engine. At some point over the past decade the maple function that allowed you to directly access the Maple Engine was removed, I'm not certain exactly when.
Depending on what the code was calling the Maple Engine to try to do, it's possible that over the past decade that functionality has been added as a function in Symbolic Math Toolbox. Alternately, you may be able to find an equivalent MuPAD function that you can call via symengine. Note the Compatibility Considerations section: if you find you need to call a MuPAD function directly because there is no equivalent in Symbolic Math Toolbox, please contact Technical Support to let us know.
댓글 수: 9
Walter Roberson
2018년 10월 30일
If you install a current version of maple after you install MATLAB then the maple installation will detect MATLAB and ask you whether you want to install a connector package into MATLAB. If you permit it, then it will install a toolbox that uses maple for symbolic calculations in MATLAB, including an interface to call maple functions directly.
zhang sifei
2019년 11월 3일
But how to solve this problem? Could you please give me some helpful suggestions?

Walter Roberson
2019년 11월 3일
Use the drop-down box to select the directory that MATLAB is in.
zhang sifei
2019년 11월 8일
Does you have any detail manual for Matlab programming using Maple symbolic engine?
Best regards.
Walter Roberson
2019년 11월 8일
Unfortunately it is more difficult than it needs to be to find appropriate documentation for the Maple Toolbox for MATLAB, from Maplesoft. I have reached out to Maplesoft to get links to the appropriate documentation.
Walter Roberson
2019년 11월 8일
(... and I found a bug in the Maplesoft bug reporting system. Good thing I happened to go to review my report afterwards.)
zhang sifei
2019년 11월 9일
You are brillian.
How do you find it?
Could you share these appropriate documentations you found?
Walter Roberson
2019년 11월 9일
That's the problem: I did not find appropriate documentation. The documentation I found pointed to things that did not exist anymore, and did not have any list of the calls available. I opened a bug with Maplesoft about that, and afterwards when I went to look back at my bug, I found that they had a bug in the bug-reporting system, which I had to find a different way to report to them...
Walter Roberson
2019년 11월 13일
The installation guide for it turns out to be at https://www.maplesoft.com/support/install/2019/Maple/Install.html#MapleInstallGuide_MapleToolbox
The documentation... well, the official answer for that is,
Start MATLAB® and then open the MATLAB® help system. To open the main Maple Toolbox help page, click Supplemental Software and select Maple Toolbox from the table of contents.
카테고리
도움말 센터 및 File Exchange에서 Code Performance에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!