image thumbnail


version (1.43 KB) by Damith Senaratne
Facilitates interaction with internal-Maple engine of MATLAB. Requires MATLAB 2008a or prior.


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)
maple >> evalf(Pi)
maple >> fsolve( cos(z)=z,z)
maple >> fsolve( z^3-3*z+1=0,z)
-1.8793852415718167681082185546495, .34729635533386069770343325353863, 1.5320888862379560704047853011108
maple >> exit
bye, bye!

Cite As

Damith Senaratne (2021). maplePrompt (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2008a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!