I was wondering if this has been superseded by now and what the best tool is to read NMEA data. Particularly, I have about 1 GB of NMEA strings to read, so I need something quite fast.
I also had some crashes with this script when the NMEA strings weren't detected. The oderfields command crashed when given a Nan. I added this to the end of the code, which seemed to fix the problem for me.
data = orderfields(data);
Does anyone have any ideas on this exponent problem?
My guess is that matlab includes the exponents as a different kind of child of the plot object than other text, which causes trouble for matlabfrag. The axis exponents are difficult to access within matlab too.