matlab 错误 Undefined function or method 'unit8' for input arguments of type 'double'.
matlab 错误 Undefined function or method 'unit8' for input arguments of type 'double'.
日期:2018-03-12 23:03:53 人气:1
错误提示是:对于输入的double型参数,没有定义unit8这个函数或方法。
把unit8改成uint8试试
uint8是matlab自带的库函数,它的功能是将数组中的元素转换成无符号8位整数。