Text File IO for Non-uniform Data

버전 1.0.0.0 (640 Bytes) 작성자: John McArthur
Takes a non-uniform text file and imports it similar to Excel import function.
다운로드 수: 2.6K
업데이트 날짜: 2005/6/29

라이선스 없음

If you have a program that is outputting a data file with headers and blank lines, and if the exact order and location of those headers and blank lines varies from data set to data set, then it might be nice to read in a data file similar to how Excel does it. Each delimitted object, whether an ascii text object or an ascii numeric object, will get its own cell in a Matrix. I couldn't find how to do this simply, so I figured out how to do it with this little code. This is a quick way to sort out a file. It seems like there should be an easier way to so this, but I couldn't figure it out. If you have any advice on easier/faster solutions, please let me know.

johnnyfisma@hotmail.com

인용 양식

John McArthur (2024). Text File IO for Non-uniform Data (https://www.mathworks.com/matlabcentral/fileexchange/7933-text-file-io-for-non-uniform-data), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R12
모든 릴리스와 호환
플랫폼 호환성
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.0.0.0