writematrix_with_he​ader

버전 1.0.0 (1.71 KB) 작성자: Matlab Pro
writes header + matrix to a file
다운로드 수: 9
업데이트 날짜: 2024/7/8

라이선스 보기

writematrix itself (Matlab builtin function) does not save header lines
writematrix_with_header - allows it
Inputs:
filename - destination filename
header - cell array containing header line(s), each cell = a new header line
matrix - a numeric matrix
varargin - (optional) extra parameters given as inputs to "writematrix"
Example:
filename = fullfile(pwd,'writematrix_with_header_example.txt');
header = {'Hello',['File created @:',char(datetime())]};
matrix = 1:100;
writematrix_with_header(filename, header, matrix);

인용 양식

Matlab Pro (2026). writematrix_with_header (https://kr.mathworks.com/matlabcentral/fileexchange/169286-writematrix_with_header), MATLAB Central File Exchange. 검색 날짜: .

MATLAB 릴리스 호환 정보
개발 환경: R2024a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
버전 게시됨 릴리스 정보
1.0.0