check "edittext" empty or not

5 visualizzazioni (ultimi 30 giorni)
Rahma Yeni
Rahma Yeni il 21 Apr 2012
Commentato: sathya ganesan il 28 Gen 2021
Hello all.. ^^ I want to ask, how to check an "edittext" containing value or not..?? Thank you.. :)

Risposta accettata

Walter Roberson
Walter Roberson il 21 Apr 2012
S = get(TheHandle, 'String');
if isempty(S)
disp('no value');
else
disp('value is present');
end
Note, though, that the value that is present might be all blanks or other whitespace.
  2 Commenti
Jhonatan Hurtado
Jhonatan Hurtado il 18 Nov 2018
Muy buen aporte amigo, la transforme para mi comodidad.
sathya ganesan
sathya ganesan il 28 Gen 2021
Coding not worked

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Word games in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by