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

15 次查看(过去 30 天)
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 个评论
Jackson Burns
Jackson Burns 2019-9-20
Have you considered instead using a dropdown with the options being the spreadhseets in the working directory?

请先登录,再进行评论。

回答(1 个)

Harsha Priya Daggubati
编辑:Harsha Priya Daggubati 2019-9-23
Hi,
There is a similar question answered in the community. Refer to the following link and take a look at it:
Hope this helps!

类别

Help CenterFile Exchange 中查找有关 File Operations 的更多信息

产品


版本

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by