Excel spreadsheet - using xlswrite only writes first value to spreadsheet
Show older comments
I am writing a vector from the workspace to an Excel spreadsheet, and specifying the range. But I only see the first number in the vector being written over and over again.
As an example :
>> x = 1:10;
>> xlswrite('temp.xlsx', x, 'A1:A10');
Now, on opening the "temp.xlsx" file, I can see that only the number "1" is written 10 times from A1 to A10. Why is this?
Accepted Answer
More Answers (0)
Categories
Find more on Spreadsheets in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!