How can I add chart in a specific sheet in an excel workbook via Matlab?
2 ビュー (過去 30 日間)
古いコメントを表示
George Kouskoulis
2016 年 10 月 4 日
コメント済み: George Kouskoulis
2016 年 10 月 6 日
I would like to add a chart in a specific sheet in an excel workbook via Matlab? Is this possible?
0 件のコメント
採用された回答
Gareth Thomas
2016 年 10 月 4 日
There are a few ways of doing this:
- If you use MATLAB Spreadsheet link Spreadsheet link this will enable you from Excel to call MATLAB and bring in MATLAB plots
- Some people like using Excel graphs and use MATLAB to refresh the data. So if have the data in MATLAB, and writetable or xlswrite to a specific sheet, then you can have the Excel create a chart based on that range, all you need is to update the chart.
- It is also possible to control Excel from MATLAB via the COM interface, however this takes a little more work.
- It is also possible to create an excel add-in with MATLAB Compiler SDK, that takes your MATLAB function and embeds it in Excel.
4 件のコメント
Gareth Thomas
2016 年 10 月 4 日
I believe you are looking for something like this. See this thread.
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Spreadsheets についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!