How to auto complete a text edit field in app-designer?

8 visualizaciones (últimos 30 días)
Leon
Leon el 20 de Sept. de 2019
Editada: Harsha Priya Daggubati el 23 de Sept. de 2019
I designed an app using Matlab app-designer. It requires a filename input as below:
File1 = ['working/', strtok(app.fileName.Value), '.xlsx'];
I have about 50 Excel files in my working folder ('working'). How do I implement auto complete for this field, so that after I type a few letters, the entire file name will show up?
  1 comentario
Jackson Burns
Jackson Burns el 20 de Sept. de 2019
Have you considered instead using a dropdown with the options being the spreadhseets in the working directory?

Iniciar sesión para comentar.

Respuestas (1)

Harsha Priya Daggubati
Harsha Priya Daggubati el 23 de Sept. de 2019
Editada: Harsha Priya Daggubati el 23 de Sept. de 2019
Hi,
There is a similar question answered in the community. Refer to the following link and take a look at it:
Hope this helps!

Categorías

Más información sobre File Operations en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by