maplePrompt

Facilitates interaction with internal-Maple engine of MATLAB. Requires MATLAB 2008a or prior.
327 Downloads
Updated 24 Aug 2011

View License

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
Created with R2008a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Startup and Shutdown in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0