How to limit the range of a parameter in Simbiology?
Show older comments
For example, I have a variable BMI which is defined as a rule:
BMI = normrnd(22,3.5);
and I want to limit the output values between 18 and 30, how do I do that?
I tried using events tab to do that, but it doesn't work for parameters, works only for species.
Accepted Answer
More Answers (0)
Categories
Find more on Extend Modeling Environment 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!