tsvread: importing tab-separated data

Similar to csvread, but has a lot more user-friendly options and can deal with non-numeric data.
2.8K Downloads
Updated 2 Oct 2011

View License

Both numeric and text is imported. For the non-numeric cells, the numeric values are NANs.
There are several options, depending on the input and output arguments. If no output arguments are requested, the data is displayed to the screen. It is a good idea to verify the import by using the no-output option. It is possible to import selected columns by specifying the header string. If no header strings are supplied, then the entire spreadsheet is imported.

Cite As

Stephan Koehler (2024). tsvread: importing tab-separated data (https://www.mathworks.com/matlabcentral/fileexchange/32782-tsvread-importing-tab-separated-data), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2011a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.5.0.0

bug fix

1.4.0.0

fixed minor bug

1.0.0.0