SimBiology insulindemo does not load variants in the parameters

13 views (last 30 days)
Hi all I am new in SimBiology and I am trying to run the insulindemo example following the steps in this link: https://es.mathworks.com/help/simbio/examples/simulating-the-glucose-insulin-response.html When I modify a simple parameter (specifically "StartTime" within the 'Single Meal' object, by replacing '0' by '2', or whatever) and I restart the simulation to load the new values, the plasma glucose results do not reflect the new start time, but instead they are completely flat. Am I doing anything wrong? Thanks in advance. Manuel J.
<<
<<
>>
>>

Accepted Answer

Arthur Goldsipe
Arthur Goldsipe on 14 Jul 2017
Hi Manuel,
Are you using R2017a? There is a bug in this release that affects this particular demo. Specifically, when a dose and an event occur at the same time, only the dose takes effect. In this particular demo, this means that any meals that occur after time 0 will not get applied correctly to the model. Can you try this example in R2016b or in the R2017b pre-release and see if the problem is addressed?
If you don't have access to a different release, I'm not sure what to recommend. There might be a way to change the model to work around the bug, but I would have to think about that.
-Arthur
  1 Comment
Manuel J. Abaldea
Manuel J. Abaldea on 17 Jul 2017
Hi Arthur,
Yes, I was using R2017a. It works perfectly using R2016b.
Thank you so much for your advice and help.

Sign in to comment.

More Answers (1)

Manuel J. Abaldea
Manuel J. Abaldea on 20 Jul 2017
Dear all,
I would like to simulate a Type 1 diabetic patient by using the Cobelli's Model. In the insulin model example, I have the next variants: Type2, low/high insulin sensitivity, low/high beta cell responsivity. Which of them refers to a Type1 diabetic patient?
Another question, when I try to run the insulin demo example I don't get to simulate (in none of the variants) an open-loop controlled subject. Is it possible to provide the amount of exogenous insulin for each meal?
Thank you.

Categories

Find more on Perform Sensitivity Analysis in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!