How can I write complex double cell to excel?
7 ビュー (過去 30 日間)
古いコメントを表示
Hello. I have 80*100000 complex double that I put them in 20*1 cell (every 4 rows and 100000 colomns).
I want to save this cells in excel file. I wrote the below code:
Q = rand(80*100000);
Q_1 = mat2cell(Q,4*ones(1,20),100000);
writecell(Q_1,'ExampleMatlab.xlsx');
but I recieve this error:
"Error using writecell (line 195)
The data block starting at cell 'A1' exceeds the sheet boundaries by 0 row(s) and 383616 column(s). "
How can I fix it?
0 件のコメント
採用された回答
Ayush Modi
2024 年 4 月 15 日
編集済み: Ayush Modi
2024 年 4 月 15 日
Hi Majid,
I found a similar question in the community. As @Walter Roberson said, this error is caused due to the limitation on number of columns that are permitted to be written in Excel. Please see the below link -
その他の回答 (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!