Maple Language File (.mpl) Format
MPL file format
MPL (Maple Language File) is a text-based file format for Maple programs.
MPL files are simply text files containing statements conforming to the syntax of the Maple language. These are the same as statements that can be entered interactively.
MPL files can be executed from within Maple using the read statement.
The commands in a Maple worksheet can be exported to MPL format using the Export as Maple Input menu option.
The Export command can also export Maple expressions and programs to this format.
Write Maple commands to an MPL script in the home directory of the current user.
mplFile ≔ FileTools:-JoinPath⁡myscript.mpl,base=homedir
FileTools:-Text:-WriteFile⁡mplFile,cat⁡n := 20;
Export a Maple expression to an MPL file and read it back.
expr ≔ CurveFitting:-Spline⁡0,1.124,1,2.2322,2,3.343,3,2.334,v,degree=1
mplFile ≔ FileTools:-JoinPath⁡piecewise.mpl,base=homedir
Download Help Document
What kind of issue would you like to report? (Optional)