Convert BIN to HEX
18 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hello guys,
I have a .BIN file that looks like this when opened in Matlab:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/150453/image.png)
I would like to convert this to a HEX file with this kind of shape (this is from a HEX editor):
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/150454/image.png)
The 2 are not linked together, I just took portions of the file to show. How can I do such transformation so I can work with HEX data in Matlab?
Thanks!
0 commentaires
Réponse acceptée
James Tursa
le 18 Oct 2015
Modifié(e) : James Tursa
le 18 Oct 2015
doc fopen
doc fread
doc dec2hex
1 commentaire
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Text Data Preparation dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!