diff --git a/CellBase_R2013a/Functions/database_functions/cellbase/switchcb.m b/CellBase_R2013a/Functions/database_functions/cellbase/switchcb.m index eea49c4..fd174e2 100644 --- a/CellBase_R2013a/Functions/database_functions/cellbase/switchcb.m +++ b/CellBase_R2013a/Functions/database_functions/cellbase/switchcb.m @@ -32,7 +32,7 @@ setpref('cellbase','datapath',datapath); %this may be annoying functionality %changes the path of fname to the new path - [pathstr,name,ext,v] = fileparts(fname); + [~,name,ext] = fileparts(fname); fname = fullfile(datapath,[name ext]); f = uigetfile({'*.mat','MAT-files (*.mat)'},'Select the main database file',fname); if f ~=0