フィルターのクリア

How can i see if a unit8 var exist or not?

2 ビュー (過去 30 日間)
federica pasquali
federica pasquali 2018 年 8 月 10 日
回答済み: KSSV 2018 年 8 月 10 日
Dear all, I have to check if a unit8 variabile type exist or not , do you know how can i do? thanks,

採用された回答

KSSV
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 件)

カテゴリ

Help Center および File ExchangeShifting and Sorting Matrices についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by