Writing to an Excel Spreadsheet

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

Try with 'TESTTESTTEST.xlsx'
it works in my case.. :)
Thanks a lot. Worked for me as well.
why should we use this command ? and when ? what does it do ?
Have you read the documentation for this function?
Thanks Walter, that totally works

Sign in to comment.

Asked:

on 1 Feb 2018

Commented:

on 25 Feb 2020

Community Treasure Hunt

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

Start Hunting!