how to get the transpose of hexadecimal array from text file ..any code related this
1 回表示 (過去 30 日間)
古いコメントを表示
how to get the transpose of hexadecimal array from text file ..any code related this..below data in txt file. 431B65D9C3176957 C022C9A543135153 C2EE4BF7429E6DBD 42AF3DBC3F9DD2E8
I want to it in[431B65D9C3176957 C022C9A543135153 C2EE4BF7429E6DBD 42AF3DBC3F9DD2E8] this way..
採用された回答
Andrei Bobrov
2015 年 5 月 28 日
f = fopen('your_text_file.txt');
c = textscan(f,'%s','delimiter','\n');
fclose(f);
out = c{:}
2 件のコメント
Andrei Bobrov
2015 年 5 月 28 日
"...sepatre this file by 8 bit..."
f = fopen('your_text_file.txt');
c = textscan(f,'%s','delimiter','\n');
fclose(f);
c2 = cat(1,c{:}{:});
out = mat2cell(c2,ones(4,1),8*[1,1])
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で String Parsing についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!