compartment is not being used in the model

1 view (last 30 days)
i'm replicating the result of the pharmacokinetics of antibacterial drugs in a time-kill curve experiment in the tutorial
when i firstly create the model with simbiology App, i got the message "compartment is not being used in the model" at the top-left of the compartment in the diagram view
how should i manage this message?
And, after setting the kinetic parameter for reaction, hidden parameter was not shown up by "Show All Hidden Blocks and Lines".
How can i show the hidden kinetic parameters?

Accepted Answer

Fulden Buyukozturk
Fulden Buyukozturk on 22 Apr 2020
Edited: Fulden Buyukozturk on 22 Apr 2020
You can ignore the "compartment is not being used in the model" warning. This warning is a benign bug with this version. Sorry about that.
To answer your second question, only model scoped parameters appear on the diagram. By default, the parameters are scoped to the reaction. If you change the scope of the parameter to the model, it should appear on the diagram.
To change the scope, open the reaction on the property editor. Check the scope of the parameter to the left of the parameter name. If it shows reaction, right click on the parameter and choose Change Scope.
Fulden Buyukozturk
Fulden Buyukozturk on 23 Apr 2020
Yes, you can change SimBiology preferences to set the default scope of parameters as Model.
Go to Preferences on Home tab, choose Model Building, and uncheck "Scope parameters created to the reaction", click apply.
This will ensure that any new parameters you add will be scoped to Model. To change the existing parameter's scope, you need to do the steps outlined above.
Kazutaka Sekiguchi
Kazutaka Sekiguchi on 23 Apr 2020
Thank you so much!
I appreciate it,

Sign in to comment.

More Answers (0)


More Answers in the  SimBiology Community


Find more on Extend Modeling Environment 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!