Limit range in Data properties of a Chart variable not working?
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Eduard Monlleo
le 23 Mar 2020
Modifié(e) : Fangjun Jiang
le 23 Mar 2020
Hello,
I am using the Stateflow charts, and I want to saturate a variable within some limits.
Using the Data properties I thought I could do it, but the variable keeps increasing even though the Limit range values are filled with a value.
Any idea if this is supposed to do something or another way to do it?
Thanks
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/278831/image.png)
0 commentaires
Réponse acceptée
Fangjun Jiang
le 23 Mar 2020
Modifié(e) : Fangjun Jiang
le 23 Mar 2020
The Min/Max value in data property won't automatically saturate the actual value of your data. They are there for the purpose of "checking". You have to do the saturation your self. If the relevant diagnositc setting is enabled, Simulink will give warning or error when you run simulation and the value of the data is out of range.
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Simulink Functions dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!