%% 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', ... 'gain', 50000, ... 'LPF', '6dB 0.1Hz', ... 'input', 'SSI2V (20bits, +/- 10V)', ... 'HPF', '6dB 30kHz'); pd200 = struct('input', 'DAC', ... 'load', '3 uF'); notes = struct('pre_amp', pre_amp); %% Save save('mat/noise_preamp_5113_SSI2V.mat', 't', 'Vn', 'notes');