Version (38,5 ko) par Gordon Ray
MATLAB MEX function to create an Excel spreadsheet.
2,8K téléchargements
Mise à jour 24 mars 2004

Afficher la licence

Functionally the same xlswrite.m (by Scott Hirsch), the only difference is in the implementation.

XLSWriteMex is implemented in C++ and compiled into a MATLAB MEX dll. I did this because 'xlswrite.m' does not compile using the MATLAB compiler, so any MATLAB program using 'xlswrite.m' cannot be compiled into a stand-alone app.

Using XLSWriteMex instead of xlswrite will solve this problem.

Example using XLSWriteMex:
m = rand(100,4);
header = 'This is some introductory information at the top of my spreadsheet.';
colnames = {'Ch1','Ch2','Ch3','Ch4'};
filename = 'myfile.xls';

Will create a spreadsheet named myfile.xls

Citation pour cette source

Gordon Ray (2024). XLSWriteMex (https://www.mathworks.com/matlabcentral/fileexchange/4599-xlswritemex), MATLAB Central File Exchange. Récupéré le .

Compatibilité avec les versions de MATLAB
Créé avec R13
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
Version Publié le Notes de version

Changed category from
'Utilities: Miscellaneous' to
'Utilities: Data Import/Export'