Last change
on this file since 11991 was 11991, checked in by Eric.Larour, 13 years ago |
oecreview from 11518 to present
|
File size:
835 bytes
|
Rev | Line | |
---|
[11991] | 1 | Index: /proj/ice/larour/issm-uci-clean/trunk-jpl/src/m/qmu/dakota_in_write.m
|
---|
| 2 | ===================================================================
|
---|
| 3 | --- /proj/ice/larour/issm-uci-clean/trunk-jpl/src/m/qmu/dakota_in_write.m (revision 11629)
|
---|
| 4 | +++ /proj/ice/larour/issm-uci-clean/trunk-jpl/src/m/qmu/dakota_in_write.m (revision 11630)
|
---|
| 5 | @@ -62,12 +62,12 @@
|
---|
| 6 | if ~exist('filei' ,'var') || isempty(filei)
|
---|
| 7 | filei=input('Dakota input file to write? ','s');
|
---|
| 8 | end
|
---|
| 9 | -[pathstr,name,ext,versn] = fileparts(filei);
|
---|
| 10 | +[pathstr,name,ext] = fileparts(filei);
|
---|
| 11 | if isempty(ext)
|
---|
| 12 | % fileparts only considers '.in' to be the extension, not '.qmu.in'
|
---|
| 13 | ext='.qmu.in';
|
---|
| 14 | end
|
---|
| 15 | -filei2=fullfile(pathstr,[name ext versn]);
|
---|
| 16 | +filei2=fullfile(pathstr,[name ext]);
|
---|
| 17 |
|
---|
| 18 | display(sprintf('Opening Dakota input file ''%s''.',filei2));
|
---|
| 19 | fidi=fopen(sprintf('%s',filei2),'w');
|
---|
Note:
See
TracBrowser
for help on using the repository browser.