Hello all.. ^^ I want to ask, how to check an "edittext" containing value or not..?? Thank you.. :)

 採用された回答

Walter Roberson
Walter Roberson 2012 年 4 月 21 日

1 投票

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 件のコメント

Jhonatan Hurtado
Jhonatan Hurtado 2018 年 11 月 18 日
Muy buen aporte amigo, la transforme para mi comodidad.
sathya ganesan
sathya ganesan 2021 年 1 月 28 日
Coding not worked

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File Exchange で Dates and Time についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by