facing error in reading the model

13 views
Skip to first unread message

Nimisha Tripathi

unread,
Feb 19, 2025, 5:05:24 AMFeb 19
to cobra pie
Can anyone please tell me how to solve this error 
Unable to perform assignment because the size of the left side is 10-by-1 and the size of the right side is 1-by-9.

Error in createModel (line 160)
    stoich(pos(pres),i) = coefLists{i};
    ^^^^^^^^^^^^^^^^^^^
Error in xls2model (line 239)
model = createModel(rxnAbrList,rxnNameList,rxnList,revFlagList,lowerBoundList,upperBoundList,subSystemList,grRuleList);
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error in readCbModel (line 221)
        model = xls2model(fileName, [], defaultBound);
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Reply all
Reply to author
Forward
0 new messages