maplePrompt
This is a simple m-file with just a couple of lines.
* * * Please note that you need MATLAB 2008 or prior to use this script. * * *
(This script is not yet tested with "Maple Toolbox for MATLAB")
Provides a prompt (within MATLAB command prompt) for interacting with the internal Maple engine of MATLAB.
Mere fraction of Maple's capabilities are available this manner.
If expected, the last 'maple' result and status are returned at exit.
Example usage:
>> maplePrompt
============================================================
'maplePrompt' additional commands:
- clc : clear screen
- clear : restart maple engine
- exit : terminate maplePrompt
============================================================
maple >> x:=factorial(100)
x := 93326215443944152681699238856266700490715968264381621468592963895217599993229915608941463976156518286253697920827223758251185210916864000000000000000000000000
maple >> y:=log(x)
y := log(93326215443944152681699238856266700490715968264381621468592963895217599993229915608941463976156518286253697920827223758251185210916864000000000000000000000000)
maple >> evalf(y)
363.73937555556349014407999336966
maple >> evalf(Pi)
3.1415926535897932384626433832795
maple >> fsolve( cos(z)=z,z)
.73908513321516064165531208767387
maple >> fsolve( z^3-3*z+1=0,z)
-1.8793852415718167681082185546495, .34729635533386069770343325353863, 1.5320888862379560704047853011108
maple >> exit
bye, bye!
>>
Cite As
Damith Senaratne (2024). maplePrompt (https://www.mathworks.com/matlabcentral/fileexchange/32669-mapleprompt), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |