I have an image output with a table on my code:
I am trying to export this result to an excel file which I create each save with figure and results table.
Could anyone assist on the issue?
I have already tried below:
writetable(table(result), 'Result.xlsx', 'WriteVariableNames', true) xlswritefig(gcf, 'Results.xlsx', 'Sheet1', 'D2')
This gave the error which indicates excel is not able to be created and much more.