Image Write in Excel
9 views (last 30 days)
Show older comments
KALYAN ACHARJYA
on 15 Dec 2019
Edited: Walter Roberson
on 17 Dec 2019
Hello all,
I am trying to write image pixels values in excel file, the size of image 2048x1365 uint8. presently using windows 10. It seem small issue, but stuck last 10 minutes.
ver: Matlab 2017a
im=rgb2gray(imread('coolerdarker.jpg'));
xlswrite('Test1',im);
#Error:
Error using xlswrite (line 226)
The specified data range is invalid or too large to write to the specified file format. Try writing to an XLSX file and use Excel
A1 notation for the range argument, for example, ‘A1:D4’.
Error in matlab_test_file (line 16)
xlswrite('Test1',im);
Thanks
0 Comments
Accepted Answer
Walter Roberson
on 15 Dec 2019
Edited: Walter Roberson
on 17 Dec 2019
Xls files support only 256 columns. You need to switch to xlsx files.
More Answers (0)
See Also
Categories
Find more on Spreadsheets in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!