Arbitrary Read

Read line by line from an arbitrarily formatted file
300 Downloads
Aktualisiert 29. Jul 2014

Lizenz anzeigen

In many application we need to write a file parser because some not so farsighted programmer generated a delimited file that does not follow a standard. This function helps read such a file line by line (based on endline character) and separate items in the read line based on a user defined delimiter. The function returns the items in a cell array and an optional output designating if the file being read ended.
NOTE: Users are thanked in advance for their comments and feedback to help improve this code.

Zitieren als

Debejyo Chakraborty (2024). Arbitrary Read (https://www.mathworks.com/matlabcentral/fileexchange/44766-arbitrary-read), MATLAB Central File Exchange. Abgerufen.

Kompatibilität der MATLAB-Version
Erstellt mit R2012a
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.4.0.0

minor bug fix

1.3.0.0

minor bug fix

1.2.0.0

minor bug fix

1.1.0.0

Bug fix.

1.0.0.0