I have an array of C struct's like
typedef struct{
uint32_t timestamp;
uint16_t channels[4];
float value;
} sample_t;
Which is write to a file with something like
fwrite(&sample,sizeof(sample_t),1,fpLog)
What's a good way to load this into a array of struct in Octave/Matlab?
Edit: The goal is optimization for speed. The files are 1GB+ big and take a very long time to load in matlab. The files load 100x faster in numpy.