Skip to content

Instantly share code, notes, and snippets.

@laurentheirendt
Created December 29, 2017 22:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save laurentheirendt/5492e9ce1180afe3d39052ccd65af122 to your computer and use it in GitHub Desktop.
Save laurentheirendt/5492e9ce1180afe3d39052ccd65af122 to your computer and use it in GitHub Desktop.
printFuxVector - iJO1366
initCobraToolbox
model = readCbModel('iJO1366.mat');
changeCobraSolver('gurobi'); % this example uses Gurobi, but you may use any other solver
FBAsolution = optimizeCbModel(model,'max',0,0);
printFluxVector(model,FBAsolution.x, true, true);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment