Changeset 180 for trunk/src/editxml.m
- Timestamp:
- Jan 18, 2011, 10:50:40 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/editxml.m
r153 r180 330 330 head_name=get(t,1,'name'); 331 331 %Path to shemas: 332 path_uvmat=which('editxml');% check the path detected for source file uvmat 333 path_UVMAT=fileparts(path_uvmat); %path to UVMAT 334 xmlparam=fullfile(path_UVMAT,'PARAM.xml'); 332 % path_uvmat=which('editxml');% check the path detected for source file uvmat 333 % path_UVMAT=fileparts(path_uvmat); %path to UVMAT 334 % xmlparam=fullfile(path_UVMAT,'PARAM.xml'); 335 xmlparam='PARAM.xml'; %will find PARAM.xml whose path is set in priority 335 336 if exist(xmlparam,'file') 336 337 tparam=xmltree(xmlparam); … … 350 351 '*.xsd', '.xsd files '; ... 351 352 '*.*', 'All Files (*.*)'}, ... 352 'Pick a .xsd schema' ,schema path); %file browser353 'Pick a .xsd schema' ,schemafile); %file browser 353 354 if ischar(PathName) && ischar(FileName) && exist(fullfile(PathName,FileName),'file') 354 355 DataIn.Schema=fullfile(PathName,FileName);
Note: See TracChangeset
for help on using the changeset viewer.