undefined function or method 'unit8' for input argument of type 'double'
조회 수: 6 (최근 30일)
이전 댓글 표시
undefined function or method 'unit8' for input argument of type 'double'
댓글 수: 0
답변 (1개)
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
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
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 Exchange에서 Data Type Conversion에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!