tg = slrt; %% f = SimulinkRealTime.openFTP(tg); mget(f, 'int_enc.dat', 'data'); close(f); %% Convert the Data data = SimulinkRealTime.utils.getFileScopeData('data/int_enc.dat').data; interferometer = data(:, 1); encoder = data(:, 2); u = data(:, 3); t = data(:, 4); save('./mat/int_enc_id_noise_bis.mat', 'interferometer', 'encoder', 'u' , 't');