Commit 286f6eaf authored by beam dyn's avatar beam dyn
Browse files

respAC folder name for AC response matrix measurement

parent 00c5cf2e
......@@ -206,9 +206,15 @@ tnow=now();
measpath=fullfile(MACHFS,'MDT',datestr(tnow,'yyyy'),datestr(tnow,'mmmdd'));
list=dir(fullfile(measpath,'resp*'));
namelist={list.name};
mainname='resp';
if get(handles.ACRMcset(handles.ACRMcheckbox,'Value'))
mainname='respAC';
end
for i=1:100
measname=['resp' num2str(i)];
if ~any(strcmp(['resp' num2str(i)],namelist)); break; end
measname=[mainname num2str(i)];
if ~any(strcmp([mainname num2str(i)],namelist)); break; end
end
answer=inputdlg({'Directory name:'},'Choose directory name',1,{fullfile(measpath,measname)});
if ~isempty(answer)
......
Supports Markdown
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