Load file directory in EditFiedBox

2 vues (au cours des 30 derniers jours)
Harish M Y
Harish M Y le 12 Juil 2021
Modifié(e) : Image Analyst le 12 Juil 2021
Hi,
I have a backend code, which I cannot edit. I want to design an app for the same. In which If I select one model it asks to load file/folder. If I give a provision to load file using button in GUI, I need to load the file twice as the backend code also has a provision to load file. So How can I resolve this issue?
Also, If I directly give run button to the model without loading inputs in GUI (without writing script like uigetfile() in GUI), It will directly asks the inputs from the backend, How do I specify the multiple inputs directory in different EditField Box?

Réponses (1)

Image Analyst
Image Analyst le 12 Juil 2021
Modifié(e) : Image Analyst le 12 Juil 2021
The app is missing a listbox. You can have a button to select a folder, like with uigetdir(), but then you should call dir() to load all the files in the folder into a listbox so the user can easily click on one or more files to process them. Don't force the user to browse for a file every time they want to process a new one when they can simply see the one they want and click on it in a listbox. That's just basic user friendly UI design.
Other than that I can't say much since I don't know what your app really does and what the "backend" app does.

Catégories

En savoir plus sur Develop Apps Using App Designer dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by