How to limit the range of a parameter in Simbiology?
Ältere Kommentare anzeigen
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.
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Import Data finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!