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

17 lines
277 B
Mathematica
Raw 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);
t = data(:, end);
%% Save
save('mat/flex_1_x.mat', 't', 'd', 'F');