G'day mates, I am collecting data from a multi-channel DAQ, therefore, the datasets tend to be quite large. I am splitting each channel out from the lumped data into its own respective vector and saving an interim copy as a .mat binary. Is there a way to verify that the data saved in the .mat binary and the vector in memory are identical? i.e. ( in pseudo-code )
A = [ channel 1 ]A_check = checksum (a)save A as A.matA.mat_check = checksum(A.mat)assert { A_check equals A.mat_check} throw exception e1 CheckSumsDoNotMatchif (A_check != A.mat_check)...try again...
Cheers.
Best Answer