Changeset 686 for trunk/src/uvmat.m
- Timestamp:
- Sep 19, 2013, 11:07:39 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/uvmat.m
r684 r686 922 922 drawnow 923 923 [XmlDataRead,warntext]=imadoc2struct(XmlFileName); 924 if ~isempty(warntext)925 msgbox_uvmat('WARNING',warntext)926 end927 924 if ~isempty(XmlDataRead) 928 ImaDoc_str=['view ' DocExt]; % DocExt= '.xml' or .civ (obsolete case) 929 %XmlData=XmlDataRead; 925 ImaDoc_str=['view ' DocExt]; % DocExt= '.xml' or .civ (obsolete case) 930 926 if isfield(XmlDataRead,'TimeUnit')&& ~isempty(XmlDataRead.TimeUnit) 931 927 TimeUnit=XmlDataRead.TimeUnit; … … 1050 1046 if ~isempty(TimeUnit) 1051 1047 if index==2 && isfield(UvData,'TimeUnit') && ~strcmp(UvData.TimeUnit,TimeUnit) 1052 msgbox_uvmat('WARNING',['time unit for second file series ' TimeUnit ' inconsistent with first series'])1048 warntext=['time unit for second file series ' TimeUnit ' inconsistent with first series']; 1053 1049 else 1054 1050 UvData.TimeUnit=TimeUnit; … … 1059 1055 1060 1056 %display warning message 1061 if ~ise qual(warntext,'')1057 if ~isempty(warntext) 1062 1058 msgbox_uvmat('WARNING',warntext); 1063 1059 end
Note: See TracChangeset
for help on using the changeset viewer.