필터 지우기
필터 지우기

check "edittext" empty or not

조회 수: 6 (최근 30일)
Rahma Yeni
Rahma Yeni 2012년 4월 21일
댓글: sathya ganesan 2021년 1월 28일
Hello all.. ^^ I want to ask, how to check an "edittext" containing value or not..?? Thank you.. :)

채택된 답변

Walter Roberson
Walter Roberson 2012년 4월 21일
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개)

카테고리

Help CenterFile Exchange에서 Text Data Preparation에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by