How can i see if a unit8 var exist or not?
2 次查看(过去 30 天)
显示 更早的评论
Dear all, I have to check if a unit8 variabile type exist or not , do you know how can i do? thanks,
0 个评论
采纳的回答
KSSV
2018-8-10
doc isa
A = rand(3,1) ;
A = uint8(A) ;
if isa(A,'uint8')
fprintf('A is uint8\n')
else
fprintf('A is not uint8\n')
end
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 C Matrix API 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!