flexload.m

버전 1.2.0.0 (1.33 KB) 작성자: Aslak Grinsted
A simple and flexible text data file parser
다운로드 수: 357
업데이트 날짜: 2014/9/16

라이선스 보기


Usage: [d,txt]=flexload(fname)

This file code will read all the numbers found in a given file. It is
flexible with whitespace, separators, etc.


INPUTS:
fname: filename of input file;

OUTPUTS:
d: a matrix with all the numbers in the file
txt: all the comments in the file. (prefixed with % or #);

Aslak Grinsted 2014

인용 양식

Aslak Grinsted (2024). flexload.m (https://www.mathworks.com/matlabcentral/fileexchange/47813-flexload-m), MATLAB Central File Exchange. 검색 날짜: .

MATLAB 릴리스 호환 정보
개발 환경: R2014a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Text Files에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!
버전 게시됨 릴리스 정보
1.2.0.0

Better dealing of empty lines and fixed a bug.

1.1.0.0

* Improved number regexp
* performance improvements

1.0.0.0