Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[Matlab] How to read in Hex data file?

Status
Not open for further replies.

davyzhu

Advanced Member level 1
Joined
May 23, 2004
Messages
494
Helped
5
Reputation
10
Reaction score
2
Trophy points
1,298
Location
oriental
Activity points
4,436
matlab read hex file

Hi all,

I want to read in Hex data file like:
//--------
0a36 1fac 34b5 ...
//--------

How to do this using fopen and fread?

Best regards,
Davy
 

matlab read hex

hi
use fgetl function and read a line then process it and extract information.
regards
 

    davyzhu

    Points: 2
    Helpful Answer Positive Rating
matlab hex

Use fopen(), fread() but at the time of print use %x..
 
  • Like
Reactions: rfub

    rfub

    Points: 2
    Helpful Answer Positive Rating
Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top