Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
HCC docs
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Monitor
Service Desk
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Holland Computing Center
HCC docs
Merge requests
!310
Add the guide for Matlab CobraToolbox in the Application Specific Guides page
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Add the guide for Matlab CobraToolbox in the Application Specific Guides page
cobraToolbox
into
master
Overview
0
Commits
1
Pipelines
0
Changes
1
Merged
Mohammed Tanash
requested to merge
cobraToolbox
into
master
3 years ago
Overview
0
Commits
1
Pipelines
0
Changes
1
Expand
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
99cd97e0
1 commit,
3 years ago
1 file
+
43
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
content/applications/app_specific/running_matlab_cobratoolbox.md
0 → 100644
+
43
−
0
Options
+++
title = "Install and Running Matlab CobraToolbox"
description = "How to install and run Matlab CobraToolbox"
+++
## This document provides the steps to install and run MATLAB CobraToolbox in the cluster.
### INSTALLATION GUIDE
After logging into the cluster, load the requierd GIT module.
{{
<
highlight
bash
>
}}
$ module load git/2.22
{{
<
/
highlight
>
}}
Download Cobra toolbox in your local $WORK directory by using the following command
{{
<
highlight
bash
>
}}
$ git clone --depth=1 https://github.com/opencobra/cobratoolbox.git cobratoolbox
{{
<
/
highlight
>
}}
After the download been finished, a directory named "cobratoolbox" should be created in your WORK directory.
Enter the directory "cobratoolbox" using the following command
{{
<
highlight
bash
>
}}
$ cd cobratoolbox
{{
<
/
highlight
>
}}
Then run the following command for uploading the required modules for cobratoolbox
{{
<
highlight
bash
>
}}
$ git submodule update --init
{{
<
/
highlight
>
}}
Then run Matlab using the following command
{{
<
highlight
bash
>
}}
$ matlab
{{
<
/
highlight
>
}}
Finally run the following command to test CobraToolbox using the following Matlab command
```
Matlab
>> initCobraToolbox
```
NOTE: you need to install CobraToolbox under your WORK directory NOT HOME directory. Because HOME directories are read-only from the compute nodes.
Loading