Edit field text as filter search in UITable app designer

8 次查看(过去 30 天)
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