How to export data from matlab to excel file?

I have applied confusion matrix on my images,now I want to export that data(True positive,False positive etc. values) to an excel file. After having all these values in excel file for different different images I have to apply summation operation on them.

 Accepted Answer

Hallo Ekta,
this is an example to save excel file on multiple sheet
filename = [path 'YourFile.xlsx'];
xlswrite(filename, Matrix{6,1}(:, 1:NClusters),'Sheet1');
xlswrite(filename, Matrix{7,1}(:, 1:NClusters),'Sheet2');
....
Where Matrix{}() is your selection
Emanuele

1 Comment

Thanks a lot for replying Sir. But may I know what is this NClusters?

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!