MW - Maple Help

Maple Worksheet (.mw) Format

MW file format

Description

 • MW (Maple Worksheet) is the native format for Maple documents and worksheets.
 • It is an XML-based format and was introduced with Maple 9, replacing the Maple Classic Worksheet (MWS) format.
 • Maple has built-in facilities for exporting worksheets to other formats.
 • The DocumentTools package has several utilities for interacting with MW files.

Examples

Retrieve an expression from a Maple worksheet.

 > $\mathrm{MWFile}≔\mathrm{FileTools}:-\mathrm{JoinPath}\left(\left["example/BesselsEquation.mw"\right],\mathrm{base}=\mathrm{datadir}\right)$
 ${"C:\Program Files\Maple 2016\data\example\BesselsEquation.mw"}$ (1)
 > $\mathrm{DocumentTools}:-\mathrm{Retrieve}\left(\mathrm{MWFile},"L6"\right)$
 ${{x}}^{{2}}{}\left(\frac{{{ⅆ}}^{{2}}}{{ⅆ}{{x}}^{{2}}}\phantom{\rule[-0.0ex]{0.4em}{0.0ex}}{y}{}\left({x}\right)\right){+}{x}{}\left(\frac{{ⅆ}}{{ⅆ}{x}}\phantom{\rule[-0.0ex]{0.4em}{0.0ex}}{y}{}\left({x}\right)\right){+}\left({-}{{\mathrm{\nu }}}^{{2}}{+}{{x}}^{{2}}\right){}{y}{}\left({x}\right){=}{0}$ (2)