How to scan text file?
古いコメントを表示
Hello every one
I have a text file contains:
1,24,85,90
23,36
34,36,39,56,85,86,90
34,59,67,85,86
39,85,93
I want to scan it
How can I do that , please help me!
採用された回答
その他の回答 (1 件)
Bhaskar R
2020 年 1 月 8 日
data = readtable('yourfile.txt', 'Delimiter', ',',...
'HeaderLines', 0, 'ReadVariableNames',false, 'Format', '%d');
カテゴリ
ヘルプ センター および File Exchange で Characters and Strings についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!