Why do i get a task error message that "CAT Arguments dimensions are not consistent" in a simulation task?

1 次查看(过去 30 天)
Hello,
I'm using simbiology Desktop in Matlab 2011a on OSX Mountain Lion. I just build a simple model für an enzym-reaction with the pre-build type "Ordered Bi Bi". Next i tried to make a sensitivity analysis for the three parameters appearing in the kinetic equation. Realising this task i get the error-message on Source: Task saying that CAT arguments dimensions are not consistent. I already have read a lot about CAT arguments errors in individual codes but here i was just using the simbiology desktop with its pre-build functions and equations. After that error a simulation task does not work either. The simulation works when the compartment's constantCapacity is set to false.
Could it be that there is an error in the prebuild kinetic function? Like massbalance oder something?
Any ideas?
Thanks a lot!

采纳的回答

Arthur Goldsipe
Arthur Goldsipe 2012-11-13
Hi Martin,
I believe this is due to a bug that was fixed in MATLAB R2011b.
Is this the only reaction in your model? Because there is a bug that occurs when doing sensitivity analysis on a model containing only a single reaction, when that reaction has a rate depending on multiple species.
If that describes your model, then you can work around the bug by adding an extra reaction that doesn't affect the dynamics of the model (for example, by setting the reaction rate to 0).
I'm one of the software developers on the SimBiology team. If you think this bug will be affecting many of your models, let me know. I may be able to provide you with a patch to fix the bug, but then you won't be able to share the model with people who are using an unpatched version of MATLAB version R2011a.
-Arthur
  1 个评论
Martin
Martin 2012-11-13
Hi Arthur,
thanks for answering so quickly. I already thought that it could be a bug of this matlab version, because i have carefully checked all my arrays and matrices on the background of this horzcat function. On the whole i need to simulate a quite complex enzyme reaction cascade but for individual parameter estimation i have built particular models containing only one reaction which depends on two substrates and two products. I need a sensitivity analysis for getting an idea of the impact of the individual paramters to be able to prepare a later paramter fit job. Your idea working around this bug by adding a non-affecting extra reaction sounds great. I will check that later. But for all that i would be glad if you could send me your patch fixing that problem.
Thanks,
Martin

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Import Data 的更多信息

产品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by