You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
This is an updated version of Matt Swartz's xlswrite1, which increases the speed of the xlswrite function when used in loops or multiple times. The problem with the original function is that it opens and closes the Excel server every time the function is used. To increase the speed the Excel server is kept open after a call to the function.
Usage is exactly the same as the built-in xlswrite function except that when done, a call to xlsWriteEx with no input parameters is required to close the Excel server.
For example:
[status,message] = xlsWriteEx(myExcelFile1, myData1, ''Sheet1', 'A1');
[status,message] = xlsWriteEx(myExcelFile2, myData2, ''Sheet1', 'A1');
xlsWriteEx;
Cite As
Nick Oatley (2026). xlsWriteEx (https://uk.mathworks.com/matlabcentral/fileexchange/69745-xlswriteex), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.0.0 (4.99 KB)
MATLAB Release Compatibility
- Compatible with R2018b and later releases
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0 |
