%% tg = slrt; f = SimulinkRealTime.openFTP(tg); mget(f, 'data/data.dat'); close(f); %% Convert the Data data = SimulinkRealTime.utils.getFileScopeData('data/data.dat').data; Vn = data(:, 1); t = data(:, end); %% Notes pre_amp = struct('coupling', 'DC A-B', ... 'gain', 1000, ... 'LPF', '12dB 0.1Hz', ... 'HPF', '1MHz'); pd200 = struct('input', '50 Ohm', ... 'offset', 0.2); notes = struct('pre_amp', pre_amp, 'pd_200', pd200); %% Save save('mat/noise_PD200_6.mat', 't', 'Vn', 'notes');