problem using 'maple toolbox'

hi, when i use maple solver, the output is like when activating pretty print command, but i just want regular output other than pretty print... what should i do?
and another issue, why there is not enough help and document using maple toolbox on matlab?

回答(1 个)

Walter Roberson
Walter Roberson 2017-9-15

1 个投票

If I recall correctly, if you assign the output of maple() to a variable and char() the variable you will not get the pretty-print version. However, it has been rather some time since I tried. The old documentation http://www.mathworks.com/help/releases/R2007b/toolbox/symbolic/ says that if you call maple() with a character expression instead of a sym expression then character will be returned directly.
The maple based toolbox was replaced as of R2008a, pretty much 9 years ago.
Note: if you happened to purchase maple yourself after late 2007 then when you install it, maple will notice if you already have MATLAB installed and will offer to install a maple interface into MATLAB for you. That interface is not provided by Mathworks at all, so there is no Mathworks documentation for it.

4 个评论

i assign the output to a variable, but it does not help :(
Try
a = maple('solve', 'x^3-4*x^2+3*x+6')
tnx for your answer, but it does not help either...
I installed R2008a Win32 with Symbolic Toolbox version 3.something on a Windows machine and tested. The result was linear char. That version of the maple() call never automatically pretty-printed: you had to call pretty() to get output like what you show.
This leads us to conclude that you are using Symbolic Toolbox 5.0 or later with your own Maple installed. For a few releases after the introduction of MuPAD, maple() was available through the Mathworks Symbolic Toolbox as a call to a user-provided Maple software engine. After that grace period, maple() as a call became available in MATLAB only if you told the Maple's installer to install hooks into MATLAB.
Which MATLAB version are you using, and which Maple?

请先登录,再进行评论。

类别

帮助中心File Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by