fprintf a cell array

I have a cell array with columns of different lengths.
I want to fprintf each column into different columns in excel.
Please help thanks.

6 件のコメント

Simon Chan
Simon Chan 2021 年 7 月 18 日
Did you try to use function writecell?
HYZ
HYZ 2021 年 7 月 18 日
I got this error. 'The data block starting at cell 'A1' exceeds the sheet boundaries by 0 row(s) and 45670 column(s).'
Simon Chan
Simon Chan 2021 年 7 月 18 日
Check This link
Walter Roberson
Walter Roberson 2021 年 7 月 18 日
Simon is correct: xls and xlsx files do not permit that many columns.
HYZ
HYZ 2021 年 7 月 18 日
Mine is Microsoft office 2013. still does not work
Walter Roberson
Walter Roberson 2021 年 7 月 18 日
Referring to the official Microsoft documentation:
Total number of rows and columns on a worksheet
1,048,576 rows by 16,384 columns

サインインしてコメントする。

回答 (0 件)

質問済み:

HYZ
2021 年 7 月 18 日

コメント済み:

2021 年 7 月 18 日

Community Treasure Hunt

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

Start Hunting!

Translated by