필터 지우기
필터 지우기

what is the value of these constants??

조회 수: 1 (최근 30일)
George
George 2013년 7월 24일
I have a model in which some constant elements have words as value.I guess somewhere in the model they are defined(maybe they depend on other parameters?), but as long as there is not any from-goto related to them, how is one supposed to know their real value and how they are calculated?

채택된 답변

Andrew Reibold
Andrew Reibold 2013년 7월 24일
Some times constants are literally just assigned words, characters or "strings" as their values.
For example, I could have a variable called "Color", and the value could be set to "Blue" or "b" maybe. Neither "Blue" nor "b" have a numeric value, but if I want to know the status of "Color" I could write code to read the words
Hope that helps explain a possible reason they are there! :)
  댓글 수: 1
George
George 2013년 7월 24일
I see but how I can have access to the code that defines these constants in the simulink model?Opening their blocks doesn't help since they seem regular constants.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by