I am having trouble reading a very large binary file (1,000,000 bytes +)
If I fread
the file in a 1 byte data format for example 'uint8'
the number of data read equals the size of the file so memory isn't an issue.
I know in this binary file there is data of type 'int16'
and 'single'
however I don't know the structure of the file. I think the file is structured so there is an 'int16'
data point followed by a 'single'
data point and this is repeated until the end of the file.
I do not know how to do this reading of mixed data types.
I think I need a loop of some sort?
Thanks in advance for any help or suggestions given