display an interactive interface to import external data into Maple - Maple Programming Help

ImportData - display an interactive interface to import external data into Maple

 Calling Sequence ImportData(filename)

Parameters

 filename - (optional) string; name of the data file to import

Description

 • The ImportData command launches a dialog for reading data from an external file into Maple.
 You can also launch the dialog from the menu bar. From the Tools menu, select Assistants and then Import Data.
 • If you do not specify the filename, a file dialog opens. Select the file to import and the file format. File formats include files of type Excel, MATLAB, Image, Audio, Matrix Market, Comma Separated Values, and Delimited.
 After you specify a file, you can preview it and set import options in the Data Import Assistant dialog.
 The application imports the file as an rtable.

Examples

 > $\mathrm{ImportData}\left(\right)$
 > $\mathrm{csvFile}≔\mathrm{FileTools}:-\mathrm{JoinPath}\left(\left["example/timedata.csv"\right],\mathrm{base}=\mathrm{datadir}\right):$
 > $\mathrm{ImportData}\left(\mathrm{csvFile}\right)$