switch (questdlg("Do you wish to load a calibration from disk?"));
case 'Yes'
  calFile = uigetfile();
  if calFile != 0
    load (calFile, 'fMin', 'fMax','nFreq', 'H1thru','H1iso');
  else
    test2;
    return
  endif
  case {'No' 'Cancel'}
    return
end