Plotting Excel graph Using Matlab

11 ビュー (過去 30 日間)
Russell
Russell 2014 年 5 月 27 日
コメント済み: Image Analyst 2014 年 5 月 28 日
I would like to take an existing excel spreadsheet and use Matlab to create charts from the data in the spreadsheet.
The purpose to to have a script that will quickly create the same charts for each sheet. Please advise.

回答 (1 件)

Image Analyst
Image Analyst 2014 年 5 月 27 日
Where will the charts live? In the workbook, or in your MATLAB GUI? If they are to live in the workbook, it's easiest to have charts made up in advance and you just populate the cells with new data. If you have to create them from scratch, you're in for a world of fun using ActiveX.
  2 件のコメント
Russell
Russell 2014 年 5 月 27 日
The chart will be in the workbook.
Image Analyst
Image Analyst 2014 年 5 月 28 日
Can you make up a macro in Excel to create the chart and save it with the workbook? This is easiest since you do everything in Excel and all you have to do from MATLAB is to run the Excel macro.
Otherwise you'll have to examine the macro and try to translate those same commands into Excel. It will be almost like the ActiveX commands that you'd use in Excel but slightly different.

サインインしてコメントする。

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by