Commit 2745b91a authored by Simone Liuzzo's avatar Simone Liuzzo

changed filenames for strength reload

parent 6090cd30
......@@ -448,7 +448,7 @@ function pushbutton13_Callback(hObject, eventdata, handles)
% handles structure with handles and user data (see GUIDATA)
global qemb qemres semres
%qemb(2).cor(:,2)=-qemreadcor(fullfile(qemres.datadir,'/magcor.dat'));
qemb(2).cor(:,2)=load_correction(fullfile(qemres.datadir,'magcor.dat'),...
qemb(2).cor(:,2)=load_correction(fullfile(qemres.datadir,'quadcor.dat'),...
qemres.qpcode,qemres.opticsdir);
set(handles.qemdata.cordef,'Enable','On');
set(hObject,'Enable','Off');
......@@ -499,7 +499,7 @@ function pushbutton17_Callback(hObject, eventdata, handles)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
global qemb qemres semres
corfile=fullfile(qemres.datadir, 'magcor.dat');
corfile=fullfile(qemres.datadir, 'cornew.dat');
[fname,fpath]=uigetfile('*.dat','Load correction:',corfile);
if ischar(fname)
% qemb(2).cor(:,2)=-qemreadcor(fullfile(fpath,fname));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment