How to Load a Binary File without translation
古いコメントを表示
I have a file which is binary data from in instrument. I want to load the data into matlab and then do some searches on it, comparing against some hex strings. I cannot seem to load the file. I have tried for example:
fread(fileID)
fread(fileiD,'int')
a=fscanf(fileID,'%x %x %x %x %x %x')
These seem to store the file as 3 digit ASCII encoding numbers. Not what I need here-just the raw data. Can anyone tell me how to do this?
Thanks,
Fritz
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Instrument Control Toolbox Supported Hardware についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!