dat2xls

버전 1.0.0.0 (3.95 KB) 작성자: Fahad Al Mahmood
Copying (ASCII) data file (including headers & column names) to XLS.
다운로드 수: 4.4K
업데이트 2004/10/13

라이선스 보기

This program reads a (text data file) consisting of headers, column titles and column data (see attached data.txt). Then it opens or creates existing excel file and saves data into specified sheetname.

NOTE: The program will automatically identify the number of headerlines, columns and the column names using what so called "common sense"!

dat2xls(datfile,xlsfile,sheetname)
dat2xls(datfile,xlsfile)

datfile: Name of data file.
xlsfile: Name of excel file.
sheetname: sheet name (optional, default is 'Sheet1') if specified, a sheet with the specified name must be existing.

Example:

datfile = 'data.txt';
xlsfile = 'data.xls';
sheetname = 'Sheet2';
dat2xls(datfile,xlsfile,sheetname)
%dat2xls(datfile,xlsfile) % Will write to 'Sheet1'

인용 양식

Fahad Al Mahmood (2026). dat2xls (https://kr.mathworks.com/matlabcentral/fileexchange/4517-dat2xls), MATLAB Central File Exchange. 검색 날짜: .

MATLAB 릴리스 호환 정보
개발 환경: R14
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
도움

도움 받은 파일: xlswrite - legacy

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

버전 게시됨 릴리스 정보
1.0.0.0

Attached (data.txt)