Text File IO for Non-uniform Data

Version 1.0.0.0 (640 Bytes) von John McArthur
Takes a non-uniform text file and imports it similar to Excel import function.
2,6K Downloads
Aktualisiert 29. Jun 2005

Keine Lizenz

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

Zitieren als

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. Abgerufen .

Kompatibilität der MATLAB-Version
Erstellt mit R12
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
Version Veröffentlicht Versionshinweise
1.0.0.0