필터 지우기
필터 지우기

Edit field text as filter search in UITable app designer

조회 수: 8 (최근 30일)
Massimo
Massimo 2023년 7월 27일
댓글: dpb 2023년 7월 27일
I have created with app designer an UITable which contains different data. One of these it's simply a name (model of tractor).
I need to use an edit field text as filter to search the name I want in UITable. What I don't know how to do is building a filter in which I can write a generic name, not exactly the one which is stored in UITable.
Lets say one of name I want to search is "Matlab Anwser Forum". I'd like to obtain a result even if I write "matlab", or "answer" or also just part of the words.
Thanks guys
  댓글 수: 1
dpb
dpb 2023년 7월 27일
Look at
s="Matlab Answer Forum";
contains(s,'answer')
ans = logical
0
contains(s,'answer','ignorecase',1)
ans = logical
1
However, the misspelling near-matching as per your original string (I don't know if that was deliberate or not; presumed it probably was) is a lot more of a task; there aren't any builtin tools; you may want to see if can find something on the FEX.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

제품


릴리스

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by