Changeset 686 for trunk/src/uvmat.m


Ignore:
Timestamp:
Sep 19, 2013, 11:07:39 AM (10 years ago)
Author:
sommeria
Message:

further cleaning

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/uvmat.m

    r684 r686  
    922922    drawnow
    923923    [XmlDataRead,warntext]=imadoc2struct(XmlFileName);
    924     if ~isempty(warntext)
    925         msgbox_uvmat('WARNING',warntext)
    926     end
    927924    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)   
    930926            if isfield(XmlDataRead,'TimeUnit')&& ~isempty(XmlDataRead.TimeUnit)
    931927                TimeUnit=XmlDataRead.TimeUnit;
     
    10501046if ~isempty(TimeUnit)
    10511047    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'];
    10531049    else
    10541050        UvData.TimeUnit=TimeUnit;
     
    10591055
    10601056%display warning message
    1061 if ~isequal(warntext,'')
     1057if ~isempty(warntext)
    10621058    msgbox_uvmat('WARNING',warntext);
    10631059end
Note: See TracChangeset for help on using the changeset viewer.