I am trying to get values from my balance into matlab to be plotted over time. I am using the following functions
>> s = serial('COM4', 'BaudRate', 9600);
>> a = fscanf(s)
I get the following:
'S S 98.98g
In the workspace it appears as a [name] and 1x18 char [value]
How can I convert the value 'S S 98.98g' to a number variable?