Info

This question is closed. Reopen it to edit or answer.

Why is Xlswrite throwing an error???

1 view (last 30 days)
Vivek
Vivek on 2 Jun 2016
Closed: MATLAB Answer Bot on 20 Aug 2021
Hi, I'm using Matlab2014a and MSOffice 2010 on windows 10 64b. I'm getting an error on xlswrite function as attached in the image. please help.

Answers (1)

Walter Roberson
Walter Roberson on 2 Jun 2016
Not really enough information. Excel servers throw exceptions for many reasons.
You could use
dbstop in xlswrite at 223
and then run the xlswrite(). When it stops in the debugger, single step to determine the point at which the failure is occurring.
For example one reason the write can fail is if you do not have permission to create the output file.

Tags

Community Treasure Hunt

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

Start Hunting!