measurementTitle = 'Test-title';
good_iteration_name = sprintf(char(cat(2,measurementTitle,char(datestr(now,30)))));
dataDir = sprintf(char(good_iteration_name));
comments = [comments,' ', num2str(operatingFreq) 'Hz']
mkdir(dataDir)
cd(dataDir)
characterizationVoltages = [voltageSet' chan1' chan2'];
characterizationVoltages = num2cell(characterizationVoltages);
dataVoltages = sprintf(char(cat(2,good_iteration_name,'_charVoltages','.xlsx')));
saveAsFN = dataVoltages;
headerTemp = sprintf('Voltage %s', voltageSetTo);
colNames = {'DAQ Voltage Setting','VPP-Current', 'VPP-DrvOut',comments};
xlswrite2(characterizationVoltages, headerTemp, colNames,dataVoltages);
pause(2)
cd ..