From 9409f8dbda4ec24b8c5cf0d97b3e0810fb8a2609 Mon Sep 17 00:00:00 2001 From: unknown Date: Fri, 4 Aug 2017 16:09:53 +0200 Subject: [PATCH] Adding the install folder in path --- initCobraToolbox.m | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/initCobraToolbox.m b/initCobraToolbox.m index b4749c9e12..caa4186432 100644 --- a/initCobraToolbox.m +++ b/initCobraToolbox.m @@ -95,9 +95,12 @@ % define the root path of The COBRA Toolbox CBTDIR = fileparts(which('initCobraToolbox')); - % add the external folder first - addpath(genpath([CBTDIR, filesep, 'external'])); + % add the external folder + addpath(genpath([CBTDIR filesep 'external'])); + % add the install folder + addpath(genpath([CBTDIR filesep 'src' filesep 'base' filesep 'install'])); + % check if git is installed checkGit();