MATLAB Answers

Export multiple graphs to Excel

5 views (last 30 days)
Hi all,
I have some graphs in my GUI and i would like to export them to an excel file like this:
The graphs will be positioned by definition.
Graph 1 from A:G, 1:15. Graph 2 from H:N, 1:15.
Is it possible?

Accepted Answer

Surya Talluri
Surya Talluri on 20 Oct 2020
You can use xlswritefig function or MLGetFigure function to add plots to excel sheet.
with xlswritefig you can mention cell location for plot directly in the code whereas with MLGetFigure, you have to open the excel file and mention the command in excel cell.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!

Translated by