Can not convert USHORT MAX to ufix16_Sp01

2 ビュー (過去 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?
  1 件のコメント
galaxy
galaxy 2020 年 11 月 19 日
I am wrong.
Thank you so much

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSimulink Functions についてさらに検索

タグ

製品


リリース

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by