Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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