xlswrite and xlsread is not working on Matlab R2015b, August 20, 2015, License 326XXXX, 64 bit on HP laptop

1 次查看(过去 30 天)
xlswrite('testdata.xls', [12.7, 5.02, -98, 63.9, 0, -.2, 56])
Error using xlswrite (line 219)
I also can't read in data from an excel spreadsheet

回答(2 个)

Azzi Abdelmalek
Azzi Abdelmalek 2016-8-1
Maybe you are trying to create a file in an unauthorized folder like : C:\Program Files\MATLAB\R2016a\bin change your current folder

Walter Roberson
Walter Roberson 2016-8-1
There are a number of different problems that can cause this.
One of the class of problems has to do with Excel Add-Ins causing problems. You may have to remove any Excel Add-In you have installed.

Community Treasure Hunt

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

Start Hunting!

Translated by