Can not convert USHORT MAX to ufix16_Sp01

조회 수: 4 (최근 30일)
galaxy
galaxy 2020년 11월 19일
댓글: galaxy 2020년 11월 19일
Dear bros,
In Simulink model, I use constant block which has value (65535) and data type is ufix16_Sp01 (fixdt(0,16,0.01,0)). But there is error
I understand that ufix16_Sp01 is unsigned with wordlength is 16.
So, Can anyone explain for me???

채택된 답변

James Tursa
James Tursa 2020년 11월 19일
If you have a slope scaling of 0.01 and a bias of 0, doesn't that mean the max value is 65535*0.01 = 655.35?

추가 답변 (0개)

카테고리

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

태그

제품


릴리스

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by