Borrar filtros
Borrar filtros

Edit field text as filter search in UITable app designer

8 visualizaciones (últimos 30 días)
Massimo
Massimo el 27 de Jul. de 2023
Comentada: dpb el 27 de Jul. de 2023
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 comentario
dpb
dpb el 27 de Jul. de 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.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Introduction to Installation and Licensing en Help Center y File Exchange.

Productos


Versión

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by