% Load Data data = SimulinkRealTime.utils.getFileScopeData('data/apa95ml.dat').data; % Save Data u = data(:, 1); % Input Voltage [V] y = data(:, 2); % Output Displacement [m] t = data(:, 3); % Time [s] save('./mat/huddle_test.mat', 't', 'u', 'y', 'Glpf');