Error using xlswrite (line 220) Error: The server threw an exception.

1 次查看(过去 30 天)
Dear MATLAB Experts, Can you please help to resolve this issue??
Error using xlswrite (line 220) Error: The server threw an exception.
Code is attached.
Thanks in advance.

回答(1 个)

Moritz
Moritz 2018-2-2
编辑:Moritz 2018-2-2
First of all are you aware you are constantly overwriting your excel file in your for loop?
To answer your question however please refer back to the official MATLAB answer: https://es.mathworks.com/matlabcentral/answers/92603-why-does-xlswrite-fail-with-error-the-server-threw-an-exception-in-matlab-7-7-r2008b
In short: This is most likely caused by some Excel Add-Ins. Please disable them and try again. Hope this helps!

Community Treasure Hunt

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

Start Hunting!

Translated by