86                                                           U9361C/F/G/M RCal Measurement Guide
Programming with MATLAB
Calibration Table Setup for VMA
(elec_atten_range/2))
  elec_atten_step = '2'
  fprintf(my_SA, ':SYST:CAL:ROW1:EATT:TYPE STEP');
  fprintf(my_SA, ':SYST:CAL:ROW1:EATT:STAR %s', 
elec_atten_start);
   fprintf(my_SA, ':SYST:CAL:ROW1:EATT:STOP %s', elec_atten_stop);
   fprintf(my_SA, ':SYST:CAL:ROW1:EATT:STEP %s', elec_atten_step);
end
fprintf(my_SA, ':SYST:CAL:ROW1:IF:PATH %s', IF_path);
if preamp_enable == ['0' char newline]
  fprintf(my_SA, ':SYST:CAL:ROW1:POW:GAIN:BAND OFF');
else
  fprintf(my_SA, ':SYST:CAL:ROW1:POW:GAIN:BAND %s', preamp);
end
fprintf(my_SA, ':SYST:CAL:ROW1:COUP %s', coupling)
fprintf(my_SA, ':SYST:CAL:ROW1:FREQ:SYNT %s', pno)
fprintf(my_SA, ':SYST:CAL:ROW1:POW:MW:PATH %s', uW_path)
% Mixing Mode and Match State are default on new row addition
% Uncomment below to automatically calibrate for single added row
% input('Switch cable from SG to RCal Unit, then press 
''enter''...', 's');
% fprintf(my_SA, ':SYST:CAL:INIT:SEL')