insulindemo_changing the value of body weight

2 views (last 30 days)
Hello,
I am currently using the insulin demo from the Toolbox SimBio for "Type 2 diabetic".
I would like to know wether is possible to change from Matlab editor values of parameters like:
  • the body weight
  • the basal plasma glucose concentration
Kind regards,
Juliana GONZALEZ
  4 Comments
Jeremy Huard
Jeremy Huard on 23 Apr 2021
Hi Juliana,
in the Model Analyzer, you can drag and drop a SimData array from the Browser to a datasheet. This will display the simData in a tabular format:
Then, you can right-click on that table to save it to an Excel file:
To answer your original question, you can indeed simulate for different parameter values in a script. You have a couple of options for this but my recommendation would be to use a SimFunction. You will find an example here: Simulate Model of Glucose-Insulin Response with Different Initial Conditions
Best regards,
Jérémy
Carmen Juliana Gonzalez
Carmen Juliana Gonzalez on 23 Apr 2021
Dear Jeremy,
Thank you very much for your answer.
I will try your suggestions.

Sign in to comment.

Answers (0)

Communities

More Answers in the  SimBiology Community

Categories

Find more on Scan Parameter Ranges in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!