MATLAB: Export multiple graphs to Excel

excelexportmatlab guiplot

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.
Example:
Graph 1 from A:G, 1:15. Graph 2 from H:N, 1:15.
Is it possible?

Best Answer

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.