diff --git a/workflow/apps/matlab/easy/EASYconsole.m b/workflow/apps/matlab/easy/EASYconsole.m index a2274467..b0114886 100644 --- a/workflow/apps/matlab/easy/EASYconsole.m +++ b/workflow/apps/matlab/easy/EASYconsole.m @@ -116,7 +116,7 @@ function varargout = EASYconsole(varargin) fprintf('Using EASY script directory: %s from hardcoded default\n', easyDir); end - if ~isempty(getenv('EASY_RESULTS_DIR'))) + if ~isempty(getenv('EASY_RESULTS_DIR')) easyResultsDir=fullfile(getenv('EASY_RESULTS_DIR')); fprintf('Using output directory: %s from environment variable EASY_RESULTS_DIR\n', easyResultsDir); else