フィルターのクリア

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 Center および File ExchangeIntroduction 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