Is there any command to split the hexadecimal value automatically..

 採用された回答

James Tursa
James Tursa 2015 年 6 月 4 日

0 投票

I suspect your real problem is more complicated (like you have an array of these or a cell array of these), since splitting a single string is simple:
s = 'C29E01DF3F245CBE';
a = s(1:8);
b = s(9:16);

1 件のコメント

asmi
asmi 2015 年 6 月 4 日
This solution is right but only for one string..I have a text file it gives no.of hexadecimal values then how to split it first 8 and rest..

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeCell Arrays についてさらに検索

タグ

質問済み:

2015 年 6 月 4 日

コメント済み:

2015 年 6 月 4 日

Community Treasure Hunt

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

Start Hunting!

Translated by