Index: /proj/ice/larour/issm-uci-clean/trunk-jpl/src/m/qmu/dakota_in_write.m =================================================================== --- /proj/ice/larour/issm-uci-clean/trunk-jpl/src/m/qmu/dakota_in_write.m (revision 11629) +++ /proj/ice/larour/issm-uci-clean/trunk-jpl/src/m/qmu/dakota_in_write.m (revision 11630) @@ -62,12 +62,12 @@ if ~exist('filei' ,'var') || isempty(filei) filei=input('Dakota input file to write? ','s'); end -[pathstr,name,ext,versn] = fileparts(filei); +[pathstr,name,ext] = fileparts(filei); if isempty(ext) % fileparts only considers '.in' to be the extension, not '.qmu.in' ext='.qmu.in'; end -filei2=fullfile(pathstr,[name ext versn]); +filei2=fullfile(pathstr,[name ext]); display(sprintf('Opening Dakota input file ''%s''.',filei2)); fidi=fopen(sprintf('%s',filei2),'w');