Commit c7320229 authored by Simone Liuzzo's avatar Simone Liuzzo

added .mat in file loading

parent 33a87535
......@@ -278,7 +278,7 @@ NBPM = length(o0(1,:));
% check if file already exist, in case, skip.
if exist(fullfile(workingdirectory,[filename '.mat']),'file')
disp(['File ' filename ' already exists. Skip measurement']);
a = load(fullfile(workingdirectory,filename));
a = load(fullfile(workingdirectory,[filename,'.mat']));
response=a.response;
try
real_variation=a.real_variation;
......
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