Image Write in Excel
6 次查看(过去 30 天)
显示 更早的评论
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 个评论
采纳的回答
Walter Roberson
2019-12-15
编辑:Walter Roberson
2019-12-17
Xls files support only 256 columns. You need to switch to xlsx files.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Spreadsheets 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!