Loader of a .txt file to a MATLAB matrix

バージョン 1.1.0.0 (10 KB) 作成者: Luka
Loads a content of a .txt file and stores it in a MATLAB matrix
ダウンロード: 550
更新 2011/6/3

ライセンスの表示

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')

引用

Luka (2024). Loader of a .txt file to a MATLAB matrix (https://www.mathworks.com/matlabcentral/fileexchange/31637-loader-of-a-txt-file-to-a-matlab-matrix), MATLAB Central File Exchange. 取得済み .

MATLAB リリースの互換性
作成: R14
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersData Import and Analysis についてさらに検索

Community Treasure Hunt

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

Start Hunting!
バージョン 公開済み リリース ノート
1.1.0.0

Updated description of the file

1.0.0.0