Main Content

Importing and Exporting Data

Importing Data into the Workspace

The first step in analyzing data is to import it into the MATLAB® workspace. See Supported File Formats for Import and Export for information about importing data from specific file formats.

Exporting Data from the Workspace

When you analyze your data, you might create new variables or modify imported variables. You can export variables from the MATLAB workspace to various file formats, both character-based and binary. You can, for example, create HDF and Microsoft® Excel® files containing your data. For details, see the documentation on Supported File Formats for Import and Export.