Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

Data Import from MATLAB

Import data from MATLAB® workspace to Microsoft® Excel® environment

After you finish analyzing data in MATLAB, you can import the results into an Microsoft Excel spreadsheet. For example, you can import MATLAB figures and data. For details about various import methods, see Executing Spreadsheet Link Functions.

Functions

MLGetFigure Import current MATLAB figure into Microsoft Excel worksheet
MLGetMatrix Write contents of MATLAB matrix to Microsoft Excel worksheet
MLGetVar Write contents of MATLAB matrix in Microsoft Excel VBA variable

Topics

Executing Spreadsheet Link Functions

Learn about different Spreadsheet Link™ function types, execution methods, and how to specify arguments to execute MATLAB functions.

Convert Dates Between Microsoft Excel and MATLAB

Convert between Microsoft Excel and MATLAB date numbers.

Create Diagonal Matrix Using Microsoft Excel Ribbon

Export data in a named range of a worksheet, execute a MATLAB function using the Microsoft Excel ribbon, and import results into Microsoft Excel.

Create Diagonal Matrix Using Microsoft Excel Context Menu

Export data in a named range of a worksheet, execute a MATLAB function using the Microsoft Excel context menu, and import results into Microsoft Excel.

Create Diagonal Matrix Using Worksheet Cells

Export data in a named range of a worksheet, execute a MATLAB function using Microsoft Excel worksheet cells, and import results into Microsoft Excel.

Create Diagonal Matrix Using VBA Macro

Export data in a named range of a worksheet, execute a MATLAB function using a Microsoft Excel VBA macro, and import results into Microsoft Excel.

Was this topic helpful?