.csv file hex to dec converting(hex2dec is not working)
이전 댓글 표시
hi. i'm converting .csv file (hex) to .csv file (dec).
if a.csv file is hexadecimal
a.csv file :
['eb','80','80' ; 'eb','80','80' ...]
A = hex2dec('a.csv')
error : Error using hex2dec
Hexadecimal text must consist of characters 0-9 and A-F.
always error occurs.
채택된 답변
추가 답변 (1개)
KSSV
2021년 11월 10일
0 개 추천
You cannot convert like that.
- Read the csv file data using csvread or readtable.
- Then on the data use the function hex2dec
- Then write converted data into csv file using write2table
카테고리
도움말 센터 및 File Exchange에서 Spreadsheets에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
