Changeset 277
- Timestamp:
- Nov 18, 2011, 11:00:00 AM (13 years ago)
- Location:
- trunk/src
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/uvmat.m
r276 r277 208 208 guidata(hObject, handles); 209 209 210 %% check the path and date of modification of all functions in uvmat 211 path_to_uvmat=which ('uvmat');% check the path detected for source file uvmat 212 [errormsg,date_str,svn_info]=check_files;%check the path of the functions called by uvmat.m 213 date_str=['last modification: ' date_str]; 214 215 210 216 %% set the position of colorbar and ancillary GUIs: 211 217 set(hObject,'Units','Normalized') … … 307 313 308 314 309 %% check the path and date of modification of all functions in uvmat310 path_to_uvmat=which ('uvmat');% check the path detected for source file uvmat311 [errormsg,date_str]=check_functions;%check the path of the functions called by uvmat.m312 date_str=['last modification: ' date_str];313 315 314 316 %% case of an input argument for uvmat … … 351 353 else 352 354 if ishandle(handles.UVMAT_title) 353 fid=fopen('revision.info'); 354 if fid~=-1 355 a=textscan(fid,'%s%s%s',1,'HeaderLines',4,'Delimiter',' '); 356 set(handles.UVMAT_title,'String',[{'Copyright Joel Sommeria, 2008, Coriolis/ LEGI / CNRS-UJF-INPG'};{'GNU General Public License'}; {path_to_uvmat}; ... 357 {['at revision ' a{3}{1}]};{date_str};errormsg]); 358 fclose(fid); 359 else 360 set(handles.UVMAT_title,'String',[{'Copyright Joel Sommeria, 2008, Coriolis/ LEGI / CNRS-UJF-INPG'};{'GNU General Public License'};{path_to_uvmat};... 361 {date_str};errormsg]); 362 end 355 set(handles.UVMAT_title,'String',... 356 [{'Copyright LEGI UMR 5519 /CNRS-UJF-Grenoble INP, 2010'};... 357 {'GNU General Public License'};... 358 {path_to_uvmat};... 359 {date_str};... 360 {['SVN version : ' num2str(svn_info.cur_rev)]};... 361 errormsg]); 363 362 end 364 363 end
Note: See TracChangeset
for help on using the changeset viewer.