Changeset 477 for trunk/src/uvmat.m


Ignore:
Timestamp:
Jun 26, 2012, 8:40:09 AM (12 years ago)
Author:
sommeria
Message:

various bugs repaired.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/uvmat.m

    r476 r477  
    45434543
    45444544%read the file
    4545 data=xml2struct(fileinput);
    4546 
     4545[data,heading]=xml2struct(fileinput);
     4546if ~strcmp(heading,'ProjObject')
     4547    msgbox_uvmat('WARNING','The xml file does not have the heading ProjObject for projection objects')
     4548end
    45474549[tild,data.Name]=fileparts(FileName);% object name set as file name
    45484550ListObject=get(handles.ListObject,'String');
     
    45514553    set(handles.ListObject,'String',ListObject)
    45524554end
    4553 
    45544555IndexObj=length(ListObject);
    45554556
Note: See TracChangeset for help on using the changeset viewer.