After you finish analyzing data in MATLAB, you can import the results into a Microsoft Excel spreadsheet. For example, you can import MATLAB figures and data. For details about various import methods, see Executing Spreadsheet Link 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 |
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.