XLSWriteMex

MATLAB MEX function to create an Excel spreadsheet.

이 제출물을 팔로우합니다

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

인용 양식

Gordon Ray (2026). XLSWriteMex (https://kr.mathworks.com/matlabcentral/fileexchange/4599-xlswritemex), MATLAB Central File Exchange. 검색 날짜: .

도움

도움 받은 파일: xlswrite - legacy

도움 준 파일: Example of how to save or read data to an Excel archive.

일반 정보

MATLAB 릴리스 호환 정보

  • 모든 릴리스와 호환

플랫폼 호환성

  • Windows
  • macOS
  • Linux
버전 퍼블리시됨 릴리스 정보 Action
1.0.0.0

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