Wildcard selection

Simple GUI to allow user to select from cell array of strings using wildcard search

Ahora está siguiendo esta publicación

WILDSEL - wild card selection from cell array of strings using a GUI.
% It allows the use of wildcards '*' and '?' and displays only the matching
% elements of the cell array.
% The user selects the entry he/she wants and the index of this
% element in the original array is returned.
% The '*' wildcard stands for any number (including zero) of characters.
% The '?' wildcard stands for a single character.
%
% Usage:
% IDX = WILDSEL(ARRAY) returns the index, IDX, of the selected item in the
% cell array of strings ARRAY.
%
% Example:
% A = {'Hello world!'; 'Goodbye world!'; 'Goodbye everyone'};
% idx = wildsel(A);
%
% brings up the GUI. Type the search string in the top edit box, e.g. *world?
% and press [Return] to display the reduced list. Click on the item to select
% and the index of this string in the cell array, A, is returned.

Citar como

Richard Stephens (2026). Wildcard selection (https://la.mathworks.com/matlabcentral/fileexchange/14368-wildcard-selection), MATLAB Central File Exchange. Recuperado .

Agradecimientos

Inspiración para: Wildcard String Find

Categorías

Más información sobre Characters and Strings en Help Center y MATLAB Answers.

Información general

Compatibilidad con la versión de MATLAB

  • Compatible con cualquier versión

Compatibilidad con las plataformas

  • Windows
  • macOS
  • Linux
Versión Publicado Notas de la versión Action
1.0.0.0