The Workbook File Format - Maple Programming Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Create Maple Workbooks and Manage Attachments : worksheet/workbook

The Workbook File Format

 

 

Introduction

Main Features

Next Steps

Example Workbooks

Introduction

 

The workbook file format permits you to assemble:

• 

Maple worksheets and documents, library archives and language files,

• 

Data (such as images or spreadsheets), and

• 

Other items

as a single .maple file, which can be opened in Maple.

All data and attachments can be accessed and manipulated.

 

 

Main Features

Navigator

The Navigator palette in the Workbook pane (on the left-hand side of the Maple interface) illustrates the file and the folder structure of a Workbook.  

Files can be attached from the Navigator. Once attached, if you double-click on:

• 

An image: You will see the image,

• 

A Maple language file (.mpl): You will see the code in a Code Editor,

• 

Or a CSV or other data file: You will see the contents in the system file viewer.

The Navigator can have a folder structure to help you manage attachments. You can also reorder and move files.

For more information on the Navigator palette features, see the Navigator help page.

 

 

Reading Attachments

You can read data attached to a workbook. For example, you can read the data from a CSV file, or the contents of a Maple language file.

The file path to an attachment is known as a Workbook URI. Right-click on an attachment in the Navigator and select "Copy Path" to copy its URI into the clipboard (or one of several other file operations).

 

Here in this example, the data from an attached CSV file and the contents of a Maple language file are read into a worksheet attached to the workbook .

The matrix data from the data file can now be used in the worksheet. In this example it is used to generate a plot.

Similarly the code from the factorial.mpl file can be used inside the attached worksheet.

 

data  ImportMatrixthis:///El Centro Earthquake/elcentro_NS.csv:

plotdata,size=600,200,color=ColorTools:-ColorRGB,0,79255,121255,thickness=0

read this:///factorial.mpl

f4

24

(2.2.1)

 

Variables Palette

The Variables palette in the Workbook panel lists the assigned names in the current worksheet, together with the type and value.

To see the value of a variable, double-click on the appropriate item.

Items saved in the Variables palette are automatically available for use after restarts and reloads - they don't need to be redefined.

Any item in the Variables palette can be shared between worksheets in workbook. To share a variable, simply right-click on the variable and select Save.

For more information on the Variables palette in the Workbook panel, see this section on Workbook Variables.

 

 

Next Steps

Getting Started: Creating a Workbook

Adding Content to your Workbook

Reading Attachments

Organizing Workbook Files with the Navigator

Exporting Workbook Files

Saving and Sharing Variables across a Workbook

 

Example Workbooks

El Centro Earthquake Analysis

FIR and IIR Filters

Gold Alloy Color

Home Heating Cost

Live Earthquake Data

Password Protected Worksheets in a Workbook

Parameter Estimation for Photovoltaic Diodes

Signal Denoising

Spectrograms

System Identification for a Mass Spring Damper

Thermal Engineering