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

조회 수: 15 (최근 30일)
Leon
Leon 2019년 9월 20일
편집: Harsha Priya Daggubati 2019년 9월 23일
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일
편집: 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