Matlab coder error, help please
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
The initial value specified for global variable XXX is not contained by the global variable's type
I have defined the variable right after. Any idea?
Thanks.
2 Kommentare
Antworten (1)
Walter Roberson
am 12 Okt. 2016
You tried to initialize a global variable to a value that cannot be represented by the datatype of that variable. For example you might have defined the variable as int8 but tried to initialize it to 255 (which would fit in uint8 but not in int8)
Siehe auch
Kategorien
Mehr zu MATLAB Coder finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!