The excel model is read into matlab and an error occurs.

20 views
Skip to first unread message

Liuyw

unread,
Oct 20, 2018, 3:42:37 AM10/20/18
to COBRA Toolbox
Dear all ,
         When I read the excel model into matlab, the program reports an error, as follows:
         The index is outside the range of the array.
Error addReaction (line 316)
         Scolumn(end+1,1) = stoichCoeffList(i);
Error createModel (line 153)
     Model =
     addReaction(model,{rxnAbrList{i},rxnNameList{i}},metaboliteList,stoichCoeffList,...
     Error xls2model (line 253)
Model =
createModel(rxnAbrList,rxnNameList,rxnList,revFlagList,lowerBoundList,upperBoundList,subSystemList,grRuleList);
     
    I am strictly in accordance with the standards given by cobra.I do not know what to do?
    Thank you!


liuyw,

Thomas Pfau

unread,
Oct 22, 2018, 1:19:34 AM10/22/18
to cobra-...@googlegroups.com

Hi liuyw

Could you provide us the excel files you use? Without the excel files it is impossible to determine the cause of this error.

And, could you update your toolbox, as the version you use is not up to date.

Best

Thomas

On 2018-10-20 09:42, Liuyw wrote:

Unsubscribe

It appears that you have subscribed to commercial messages from this sender. To stop receiving such messages from this sender, please unsubscribe

--

---
You received this message because you are subscribed to the Google Groups "COBRA Toolbox" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cobra-toolbo...@googlegroups.com.
For more options, visit http://secure-web.cisco.com/1z1y64G6EUdJ32Lm_8WhJXdus0s18UkjbCklWALS1ObQLwtudDr9CA_kufaaDfqp1KNlDJskWe9XjV2-CpPVgLgMnRplwk8pziE97EbY_hxHkPiGdasSlyP__Su57EPiy1O0UMU8FQKVVuB04MfJbfrPr7WjwOPPL8tuDEuuENAc9JUZwqdFTK02PnmcnUY5wfTLD8xylDvACwCIA58WavS06n_sBFMQlAPnYWCmbmQp1ekwSMZp9H3Vp3CSJ-uZGXAuIn7gF6n4spd5lAPLNi4OU7AImLZy0Ewjm30mAVVmEqaFY-Jcs2lCAJm8qJyKshWUrQMWeAzE8Q4g2-WmJ5WIOQl3WUVRYztJC84LWkeBD7Q6p4quUgyxE9WZWDAn2P7oxaPkj0UZapU50Y5wdcA/l34%3Ahttps%3A%2F%2Fgroups.google.com%2Fd%2Foptoute.

-- 
Université du Luxembourg
Faculté des Sciences, de la Technologie et de la Communication
Campus Belval, Biotech II 115
6 avenue du Swing
L-4367 Belvaux
Tel: (+352) 46 66 44 5309
Email: thoma...@uni.lu

Liuyw

unread,
Oct 29, 2018, 2:53:55 AM10/29/18
to COBRA Toolbox
Dear Thomas,
           Thank you for your reply, then I found a solution because the metabolites in my reaction were not written correctly (with spaces in between).
           Thank you!


liuyw,


在 2018年10月22日星期一 UTC+8下午1:19:34,Thomas Pfau写道:
To unsubscribe from this group and stop receiving emails from it, send an email to cobra-toolbox+unsubscribe@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages