flexload.m

A simple and flexible text data file parser
356 descargas
Actualizado 16 sep 2014

Ver licencia


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

Citar como

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

Compatibilidad con la versión de MATLAB
Se creó con R2014a
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
Versión Publicado Notas de la versión
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