Set the option 'MultipleDelimsAsOne'
to 1 like this:
string = 'Date: 2014-04-22_09-48-16.547400 Timestamp: 2873652.086362542 Gyro.X: -0.0372661240398884 Gyro.Y: 0.0541165024042130 Gyro.Z: 0.1216094791889191 UserAccel.X: -0.0201703608036041 UserAccel.Y: -0.0118222190067172 UserAccel.Z: -0.0187157746404409 Gravity.X: -0.9937761425971985 Gravity.Y: -0.0025820778682828 Gravity.Z: -0.1113654002547264';
data = textscan(string,...
'%*s %*s %*s %*s %*s %f %*s %f %*s %f %*s %f %*s %f %*s %f %*s %f %*s %f %*s %f',...
'delimiter', ' ', 'MultipleDelimsAsOne', 1);
At the start of the format string there was one %*s
missing and there was one unnecessary %*s %f
at the end of the format string that I have removed. This yields a cell containing 9 floating point values.