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

Dear all, I have to check if a unit8 variabile type exist or not , do you know how can i do? thanks,

 Risposta accettata

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

Più risposte (0)

Categorie

Scopri di più su MATLAB in Centro assistenza e File Exchange

Richiesto:

il 10 Ago 2018

Risposto:

il 10 Ago 2018

Community Treasure Hunt

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

Start Hunting!

Translated by