Loader of a .txt file to a MATLAB matrix
by Luka
01 Jun 2011
(Updated 03 Jun 2011)
Loads a content of a .txt file and stores it in a MATLAB matrix
|
Watch this File
|
| File Information |
| Description |
I have found the functionality of being able to read data from a .txt file and storing them in a MATLAB matrix as quite useful and needed.
Example application: imagine you having some data stored in a .txt file (from some measurements) and you want additionally to process them, visualize or just save. This code does that.
This code is very similar to what load does. But, in this case one is able to add a bit customized functionality to my code to suit their specific needs.
Note: It assumes existence of only numeric data in a .txt file.
Example use:
MATRIX = txt2mat('data000.txt') |
| MATLAB release |
MATLAB 7 (R14)
|
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Updates |
| 03 Jun 2011 |
Updated description of the file |
|
Contact us at files@mathworks.com