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

 채택된 답변

James Tursa
James Tursa 2015년 6월 4일
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

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 Exchange에서 Characters and Strings에 대해 자세히 알아보기

태그

질문:

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