undefined function or method 'unit8' for input argument of type 'double'

6 ビュー (過去 30 日間)
jangiti
jangiti 2015 年 8 月 21 日
コメント済み: Adam 2015 年 8 月 21 日
undefined function or method 'unit8' for input argument of type 'double'

回答 (1 件)

Steven Lord
Steven Lord 2015 年 8 月 21 日
To convert to an unsigned 8 bit integer use "uint8" not "unit8". Note the difference in spelling.
  3 件のコメント
Sean de Wolski
Sean de Wolski 2015 年 8 月 21 日
編集済み: Sean de Wolski 2015 年 8 月 21 日
I've done this at least high in the two digits, possibly low three digits number of times.
Though it looks like autocorrect picks up on it now :)
Why yes, I did!
Adam
Adam 2015 年 8 月 21 日
Yes, I have done that countless times too, although I always hit the up-arrow too quickly to correct my mistake before realising Matlab did it for me and then I can't retrieve the correction with a down-arrow again :(

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

カテゴリ

Help Center および File ExchangeData Type Conversion についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by