what is the value of these constants??
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
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?
0 Kommentare
Akzeptierte Antwort
Andrew Reibold
am 24 Jul. 2013
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! :)
Weitere Antworten (0)
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!