From c84bcb02f7551c72864de5fe054ed72466c63208 Mon Sep 17 00:00:00 2001 From: ben <12201664+Benorli@users.noreply.github.com> Date: Mon, 5 Nov 2018 18:41:52 -0500 Subject: [PATCH] fileparts is a matlab function with three output args, unused vars also removed, resolves error --- .../Functions/database_functions/cellbase/switchcb.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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