Integrating address field in independent GUI as shown in MATLAB .

2 vues (au cours des 30 derniers jours)
yogesh jain
yogesh jain le 5 Juil 2016
Commenté : yogesh jain le 6 Juil 2016
Hello all, Is it possible to Integrating address field in independent GUI as shown in MATLAB or any integration so that user can select path in GUI. Thanks in advance.

Réponse acceptée

Walter Roberson
Walter Roberson le 5 Juil 2016
uigetdir() ?
  7 commentaires
Walter Roberson
Walter Roberson le 6 Juil 2016
To show all of the available directories and subdirectories at the same time, you are going to need to use a graphical representation such as the undocumented uitree() call. Your will probably have difficulty reading the result.
You will also have difficulty with any MS Windows release from XP onwards, with representing the hard links implemented by Windows Side By Side: if you are not actively checking for the situation of a directory loop then you will end up with an indefinitely long list of directories in the tree.
I really recommend that you reconsider. Having the user able to see one particular directory at a time, and its sub-directories, and navigate "up one level" or "into a directory" or "pick this directory here!" is not difficult, but having all the available directories requires building a complete map of your file system that might have loops in the tree.
yogesh jain
yogesh jain le 6 Juil 2016
Yes !! I got your point .. Will try to realize considering your suggestion and will inform you . Thanks a lot for your all help . :)

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Search Path 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