Changeset 687 for trunk


Ignore:
Timestamp:
Sep 19, 2013, 11:34:37 AM (11 years ago)
Author:
sommeria
Message:

further corrections in error messages fo xml2struct

Location:
trunk/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/imadoc2struct.m

    r685 r687  
    4242end
    4343if ~isempty(errormsg)
    44     errormsg=['imadoc2struct/xml2struct/' errormsg];
     44    errormsg=['error in reading ImaDoc xml file: ' errormsg];
    4545    return
    4646end
  • trunk/src/xml2struct.m

    r686 r687  
    2020catch ME
    2121    errormsg=ME.message;
    22     if regexp(ME.message,'Undefined function')
     22    if ~isempty(regexp(ME.message,'Undefined function'))||~isempty(regexp(ME.message,'Missing'))
    2323        errormsg=[errormsg ': package xmltree not correctly installed, reload it from www.artefact.tk/software/matlab/xml'];
    2424    end
Note: See TracChangeset for help on using the changeset viewer.