Azzera filtri
Azzera filtri

Edit field text as filter search in UITable app designer

8 visualizzazioni (ultimi 30 giorni)
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 Commento
dpb
dpb il 27 Lug 2023
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.

Accedi per commentare.

Risposte (0)

Categorie

Scopri di più su Introduction to Installation and Licensing in Help Center e File Exchange

Prodotti


Release

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by