In the
/usr/local/MATLAB/R2017b/toolbox/matlab directory, I did
sudo git clone https://github.com/opencobra/cobratoolbox.git.
I then opened MATLAB 2017b by
sudo /usr/local/MATLAB/R2017b/bin/matlab, and navigated to
/usr/local/MATLAB/R2017b/bin/matlab/cobratoolbox in the 'Current Folder' window.
Upon entering
initCobraToolbox in the 'Command Window', I get the following output:
Trial>> initCobraToolbox
_____ _____ _____ _____ _____ |
/ ___| / _ \ | _ \ | _ \ / ___ \ | COnstraint-Based Reconstruction and Analysis
| | | | | | | |_| | | |_| | | |___| | | The COBRA Toolbox - 2017
| | | | | | | _ { | _ / | ___ | |
| |___ | |_| | | |_| | | | \ \ | | | | | Documentation:
\_____| \_____/ |_____/ |_| \_\ |_| |_| | http://opencobra.github.io/cobratoolbox
|
> Checking if git is installed ... Done.
> Checking if the repository is tracked using git ... Done.
> Checking if curl is installed ... Done.
> Checking if remote can be reached ... Done.
> Initializing and updating submodules (this may take a while)...Cloning into 'binary'...
fatal: unable to access 'https://github.com/opencobra/COBRA.binary.git/': error setting certificate verify locations:
CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
Clone of 'https://github.com/opencobra/COBRA.binary.git' into submodule path 'binary' failed
Error using initCobraToolbox (line 181)
The submodules could not be initialized.Please suggest me a fix to this issue.