Changeset 163 for trunk/src/uvmat.m
- Timestamp:
- Jan 3, 2011, 8:06:01 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/uvmat.m
r159 r163 447 447 %global filebase 448 448 fileinput=[PathName FileName];%complete file name 449 testblank=findstr(fileinput,' ');%look for blanks450 if ~isempty(testblank)451 msgbox_uvmat('ERROR',['The input file name ' fileinput ' contains blank character : This is not allowed. Please change name'])452 return453 end449 % testblank=findstr(fileinput,' ');%look for blanks 450 % if ~isempty(testblank) 451 % msgbox_uvmat('ERROR',['The input file name ' fileinput ' contains blank character : This is not allowed. Please change name']) 452 % return 453 % end 454 454 sizf=size(fileinput); 455 455 if (~ischar(fileinput)||~isequal(sizf(1),1)),return;end … … 986 986 'Pick a file',RootPath); 987 987 fileinput_1=[PathName FileName];%complete file name 988 testblank=findstr(fileinput_1,' ');%look for blanks989 if ~isempty(testblank)990 msgbox_uvmat('ERROR',['The input file name ' fileinput_1 ' contains blank character : This is not allowed. Please change name'])991 return992 end988 % testblank=findstr(fileinput_1,' ');%look for blanks 989 % if ~isempty(testblank) 990 % msgbox_uvmat('ERROR',['The input file name ' fileinput_1 ' contains blank character : This is not allowed. Please change name']) 991 % return 992 % end 993 993 sizf=size(fileinput_1); 994 994 if (~ischar(fileinput_1)||~isequal(sizf(1),1)),return;end … … 5017 5017 'Pick an xml Object file',get(handles.RootPath,'String')); 5018 5018 fileinput=[PathName FileName];%complete file name 5019 testblank=findstr(fileinput,' ');%look for blanks5020 if ~isempty(testblank)5021 msgbox_uvmat('ERROR','forbidden input file name: contain blanks')5022 return5023 end5019 % testblank=findstr(fileinput,' ');%look for blanks 5020 % if ~isempty(testblank) 5021 % msgbox_uvmat('ERROR','forbidden input file name: contain blanks') 5022 % return 5023 % end 5024 5024 sizf=size(fileinput); 5025 5025 if (~ischar(fileinput)||~isequal(sizf(1),1)),return;end
Note: See TracChangeset
for help on using the changeset viewer.