Added selectDATA command to Java client and modified MATLAB client to use it.
This commit is contained in:
@@ -46,3 +46,12 @@ end
|
||||
|
||||
%% Get data
|
||||
result.raw = socket.readDATA();
|
||||
|
||||
%% Format data
|
||||
rows = (length(result.raw) - 5) / 9;
|
||||
result.h = zeroes(rows);
|
||||
for i=1:rows
|
||||
j = 6 + (i - 1) * 9;
|
||||
result.h(i) = result.rows(j);
|
||||
result.d = [result.d; result.rows((j+1):(j+9))];
|
||||
end
|
||||
Reference in New Issue
Block a user