Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo
Hi, I am installing the CobraToolbox 2.2 and I am having some problems, mainly with FBA and SBML.
When I apply 'testall' I only get 3 modules working:
I understand that I don't need all the modules working fine. However, I am about to do some FBA and, thus, this module must be working fine. I installed the glpk solver and tested it using glpktest1 and 2. Everything is working fine.
When I do testFBA however I get the following error:
??? Attempt to reference field of non-structure array.
Error in ==> optimizeCbModel at 161
if (solution.stat ~= 1) % check if initial solution was successful.
Error in ==> testFBA at 31
solution = optimizeCbModel(model);
Looking into the function optimizeCbModel I figured out that there is no variable called 'solution.stat'. There are actually variables called 'solutionStd.stat', 'solution2Std.stat', 'solution3Std.stat' and 'solution4Std.stat'.
If anyone can help me with that would be great!
Did you ever figure this out? I am running into the same errors except I get testSBML working as well. I have it running on Mac OS X 10.7 and Matlab 2011b. I did install the gurobi_mex files for the LP solver since the one included in cobra does not work for Mac OS 10.7.
Hi I am trying to use optimizeCbModel but I constantly get an erro and could not understand what it is could u help me tih.
Here is my code:
??? An error occurred while trying to determine whether "linprog" is a
Error in ==> optimizeCbModel at 204
solution = solveCobraLP(LPproblem);
Unexpected error status flag encountered. Resetting to proper state.
Could you help me with