Datatype not supported by stateflow data: Data overflow
이전 댓글 표시
In Stateflow flow graph. I have mentioned a statement
Difference = data1 - data2;
I have assumed data types for this variable as follows
Difference - int32 - local
data1 - int32 - local
data2 -int32 - local
During run time data1 takes 86458 and data2 takes 5381838. while debugging it shows me a error: data overflow...
Kindly Please anyone help me out in solving this issue
Thanks in advance...:)
댓글 수: 1
Walter Roberson
2011년 6월 7일
"I have assumed data types" -- but has Stateflow assumed the same data types? The error you are seeing could happen if Stateflow was using unsigned data types such as uint32.
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Simulink Functions에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!