check "edittext" empty or not
조회 수: 5 (최근 30일)
이전 댓글 표시
Hello all.. ^^ I want to ask, how to check an "edittext" containing value or not..?? Thank you.. :)
댓글 수: 0
채택된 답변
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
추가 답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!