.csv file hex to dec converting(hex2dec is not working)
Afficher commentaires plus anciens
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.
Réponse acceptée
Plus de réponses (1)
KSSV
le 10 Nov 2021
0 votes
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 commentaire
Jeong Dae Kim
le 10 Nov 2021
Catégories
En savoir plus sur Spreadsheets dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
