The indirection of using a file is always a bad idea. What about this:
packed_data = base64decode(rawdata);
float_data = typecast(packed_data, 'single');
But if you really want to udes fread, try 'float=>float' instead of 'uint8=>float'
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!