Limit range in Data properties of a Chart variable not working?

조회 수: 3 (최근 30일)
Eduard Monlleo
Eduard Monlleo 2020년 3월 23일
편집: Fangjun Jiang 2020년 3월 23일
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

채택된 답변

Fangjun Jiang
Fangjun Jiang 2020년 3월 23일
편집: Fangjun Jiang 2020년 3월 23일
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개)

카테고리

Help CenterFile Exchange에서 Simulink Functions에 대해 자세히 알아보기

태그

제품


릴리스

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by