フィルターのクリア

xlswrite() function is continuosly providing error ; Error using xlswrite (line 219), Invoke Error, Dispatch Exception: The parameter is incorrect.

4 ビュー (過去 30 日間)
I have installed Matlab R2011a and tried to use xlswrite() function, but I am getting error ; Error using xlswrite (line 219), Invoke Error, Dispatch Exception: The parameter is incorrect. I have installed other version of Matlab R2015a but error is still there? xlswrite('test.xsls', [12, 0,5]);
Please suggest the reason
  2 件のコメント
Jan
Jan 2015 年 11 月 3 日
Is the Excel file protected by a password?
hanyue YU
hanyue YU 2017 年 1 月 4 日
can you explain the problem in details?

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

採用された回答

uriK
uriK 2016 年 5 月 18 日
I've battled this stupid error for too many hours, and only found one clue to what seemed to be the problem: Excel add-ins! Looking at the error message, I got the code 'MATLAB:COM:E0'. I looked in the add-ins section in Excel's options and what you know, FoxIt reader has installed an add-in that has to do with Excel's COM interface. I disabled it, restarted MATLAB and the error was gone!
This also solved the problem I had with xlsread(), which forced me to use the 'basic' parameter otherwise it wouldn't read any file.
  5 件のコメント
Maulik Shah
Maulik Shah 2017 年 9 月 8 日
Hi uriK, I am not sure which add-in to disable as I dont have any Foxlt reader as such. Could you please help me with it? thank you!
Amir Tari
Amir Tari 2019 年 8 月 12 日
I did what u said but still doesn't work and I have the same error

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

その他の回答 (2 件)

Mus J
Mus J 2016 年 11 月 15 日
Thanks. Your answer totally worked. I was extremely horrified by this error. I found some other solutions like changing windows installation from Click to Run to msi but none worked.

Amir Tari
Amir Tari 2019 年 8 月 13 日
I had this error and after all procedures I tried, my microsoft office's version was 2013 and I changed it to 2016 version and the error was gone!

カテゴリ

Help Center および File ExchangeProgramming についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by