Writing to an Excel Spreadsheet

10 views (last 30 days)
Matt Brianik
Matt Brianik on 1 Feb 2018
Commented: Jingrui Ge on 25 Feb 2020
I keep getting this error:
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 f or the range argument, for example, ‘A1:D4’.
I only have 1000 rows and 30 columns of Data but it says I should try writing to an XLSX spreadsheet and not an XLS spreadsheet. How do I do this, Currently I'm using "XLSWRITE"?

Answers (1)

Matt Brianik
Matt Brianik on 1 Feb 2018
xlswrite('TESTTESTTEST',Compound_Identifier,'MDL Sheet','B1')
  6 Comments
Rik
Rik on 10 Jul 2019
Have you read the documentation for this function?
Jingrui Ge
Jingrui Ge on 25 Feb 2020
Thanks Walter, that totally works

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!