.csv file hex to dec converting(hex2dec is not working)
Ältere Kommentare anzeigen
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.
Akzeptierte Antwort
Weitere Antworten (1)
KSSV
am 10 Nov. 2021
0 Stimmen
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
1 Kommentar
Jeong Dae Kim
am 10 Nov. 2021
Kategorien
Mehr zu Spreadsheets finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
