Is it possible to export a graph from matlab to excel?

457 ビュー (過去 30 日間)
Rodrigo Aragon
Rodrigo Aragon 2018 年 1 月 8 日
回答済み: Glenn 2020 年 1 月 21 日
Hi there, I am wondering if is there any chance to export a graph from Matlab to Excel.

回答 (3 件)

Wan Ahmad Hezzamullah Wan Ahmad Hazim
Wan Ahmad Hezzamullah Wan Ahmad Hazim 2019 年 12 月 15 日
how to export data from workspace to excel?

Manan Mishra
Manan Mishra 2018 年 1 月 11 日
You can use the "MLGetFigure" function to import current MATLAB figure into Microsoft Excel worksheet.
For more information about this function, please refer the following link:
or execute the following command in your MATLAB command window:
>> doc MLGetFigure
You can also do this by launching Excel from MATLAB by using the ActiveX Automation client feature of MATLAB.
You can print a figure to the clipboard and then insert the clipboard contents into Excel. One example of this type of functionality is the SAVEPPT function on MATLAB Central File Exchange which inserts figures into PowerPoint.
For information about the Excel ActiveX Automation interface please consult the Excel documentation.
For more information about using MATLAB as an Automation client see the following link:

Glenn
Glenn 2020 年 1 月 21 日
using xlswrite is a good way to create or edit an existing excel file from your Matlab workspace.
I believe you can also use activeX to interact with Excel directly if you're trying to avoid an intermediate file.

カテゴリ

Help Center および File ExchangeSpreadsheets についてさらに検索

タグ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by