Improvements to Connectivity in Maple 15 - Maple Programming Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : System : Information : Updates : Maple 15 : updates/Maple15/connectivity

Improvements to Connectivity in Maple 15

 

Introduction

CodeGeneration

HTTP

Excel Connectivity Enhancements

Importing and Exporting Sparse MATLAB® Matrices

CAD Connectivity with NX

Introduction

Maple 15 includes the following enhancements to its connectivity to other tools.

CodeGeneration

• 

The CodeGeneration package can now translate some Maple procedures and modules to C#.  See CodeGeneration[CSharp] for details.

• 

The optimize option for CodeGeneration commands now accepts the value tryhard, which causes the translator to use a new, internal optimizer that provides improved performance, both in the time and memory used to optimize code, and in the generated code itself.

HTTP

• 

The new HTTP package was added to facilitate acquisition of data from sources on the web.  Many tasks that needed many lines of code using the Sockets package can now be achieved with a single command.

result := HTTP[Get]("http://www.maplesoft.com/"):

HTTP[Code](result[1]);

OK

(1)

type(result[2], 'string');

true

(2)

Excel Connectivity Enhancements

• 

The ExcelTools package has been enhanced.

– 

A new command, ExcelTools[WorkbookData], retrieves the sheet and named range data from a workbook saved in the Excel file.

– 

The ExcelTools[Import] command now allows you to specify the default value given to blank cells in an imported spreadsheet.  Previously cells in the midst of other data that had no value were given the value 0.0 on import.  Now, via the emptycell=x option, you can choose what to fill in for these empty cells.

• 

The Maple Add-in for Microsoft® Excel

– 

Now works with Excel 2010

– 

Works with both 32-bit and 64-bit Windows.

  

For information on enabling this add-in, see the Excel help page.

Importing and Exporting Sparse MATLAB® Matrices

• 

In addition to reading and writing regular (dense) MATLAB® arrays in binary format, ImportMatrix and ExportMatrix can now read and write sparse arrays. See details in the ImportMatrix help page.

CAD Connectivity with NX

• 

The CAD[NX] package now supports NX version 7.0.

See Also

Index of New Maple 15 Features