test-bench-nass-flexible-jo.../matlab/run_test.m

18 lines
308 B
Mathematica
Raw Permalink Normal View History

2021-02-16 11:32:23 +01:00
%%
tg = slrt;
f = SimulinkRealTime.openFTP(tg);
mget(f, 'data/data.dat');
close(f);
%% Convert the Data
data = SimulinkRealTime.utils.getFileScopeData('data/data.dat').data;
d = data(:, 1);
F = data(:, 2);
2021-02-16 16:53:50 +01:00
dp = data(:, 3);
2021-02-16 11:32:23 +01:00
t = data(:, end);
%% Save
2021-02-16 16:53:50 +01:00
save('mat/meas_stiff_probe.mat', 't', 'd', 'dp', 'F');