Changeset 95


Ignore:
Timestamp:
Jun 4, 2010, 12:45:04 PM (11 years ago)
Author:
sommeria
Message:

bug on opening repaired patchnewbin

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/civ.m

    r94 r95  
    135135         sparam.RunParam.CivBin=fullfile(path_UVMAT,sparam.RunParam.CivBin);
    136136    end
    137 end
    138 patch_newBin=exist(sparam.RunParam.CivBin,'file');
     137else
     138    sparam.RunParam.CivBin='';
     139end
     140patch_newBin=exist(sparam.RunParam.CivBin,'file')
    139141set(handles.subdir_civ1,'String',subdir)%default subdir on which uvmat was working
    140142set(handles.subdir_civ2,'String',subdir)%default subdir on which uvmat was working
     
    45014503set(handles.nx_patch1_title,'Visible','on')
    45024504set(handles.ny_patch1_title,'Visible','on')
    4503 if ~isempty(patch_newBin)
     4505if ~isequal(patch_newBin,0)
    45044506    set(handles.test_interp,'Visible','on');
    45054507end
Note: See TracChangeset for help on using the changeset viewer.