.csv file hex to dec converting(hex2dec is not working)
Mostrar comentarios más antiguos
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.
Respuesta aceptada
Más respuestas (1)
KSSV
el 10 de Nov. de 2021
0 votos
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 comentario
Jeong Dae Kim
el 10 de Nov. de 2021
Categorías
Más información sobre Spreadsheets en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
