function setcallervars(options)
  for i = 1:2:length(options)
    assignin('caller',options{i},options{i+1});
  end
  