XLSWriteMex

MATLAB MEX function to create an Excel spreadsheet.

Ahora está siguiendo esta publicación

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';
XLSWriteMex(m,header,colnames,filename);

Will create a spreadsheet named myfile.xls

Citar como

Gordon Ray (2026). XLSWriteMex (https://es.mathworks.com/matlabcentral/fileexchange/4599-xlswritemex), MATLAB Central File Exchange. Recuperado .

Agradecimientos

Inspirado por: xlswrite - legacy

Inspiración para: Example of how to save or read data to an Excel archive.

Información general

Compatibilidad con la versión de MATLAB

  • Compatible con cualquier versión

Compatibilidad con las plataformas

  • Windows
  • macOS
  • Linux
Versión Publicado Notas de la versión Action
1.0.0.0

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