RAVEN (MATLAB)¶
The RAVEN Toolbox runs in MATLAB and works completely independently — it does not require the COBRA Toolbox, although it can interoperate with it. The canonical reference is the RAVEN installation wiki.
Requirements¶
- MATLAB R2016b or later. No additional MathWorks toolboxes required.
- A linear-programming solver — Gurobi (free academic license, recommended) or GLPK (bundled with the COBRA Toolbox). See Choosing a solver.
- RAVEN bundles
libSBML,BLAST+,DIAMONDandHMMERfor Windows, macOS and Linux — no separate installation needed.
Install¶
The easiest option — installs directly from within MATLAB.
- Open the Home tab and click Add-Ons → Get Add-Ons.
- Search for RAVEN Toolbox and click Add → Add to MATLAB.
- Verify the installation.
Good for offline or managed environments.
- Download the latest ZIP from the RAVEN releases page.
- Extract it to a location of your choice.
- In MATLAB, add the RAVEN folder to the path (
pathtool), then verify.
Best option if you want the latest code and one-command upgrades.
Add the folder to the MATLAB path and verify.
Verify¶
From the MATLAB command window:
A successful run looks like:
*** THE RAVEN TOOLBOX ***
Checking if RAVEN is on the MATLAB path... OK
Checking if it is possible to parse a model in Microsoft Excel format... OK
Checking if it is possible to import an SBML model using libSBML... OK
Solver found in preferences... gurobi
Checking if it is possible to solve an LP problem using gurobi... OK
Checking essential binary executables:
BLAST+... OK
DIAMOND... OK
HMMER... OK
*** checkInstallation complete ***
Upgrade¶
Remove¶
Getting help¶
For installation problems, consult the RAVEN wiki or open an issue on GitHub.