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

1 vue (au cours des 30 derniers jours)
Dr. Hareesha N G
Dr. Hareesha N G le 27 Jan 2018
Modifié(e) : Moritz le 2 Fév 2018
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.

Réponses (1)

Moritz
Moritz le 2 Fév 2018
Modifié(e) : Moritz le 2 Fév 2018
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