How can I get the subfolders to expand?
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hello, I am trying to select a folder and set that folder as a root node of a graphical tree so as to be able to open the subfolders of the tree recursively. I am using:
tree= uitree ('v0', 'Root', uigetdir, 'Parent', []);
I am able to select a folder and it is set as the rootnode. When I click on the folder it opens and all the files and subfolders appear, however I am unable to open the subfolders. Whenever I click on the + to the left of the subfolders the + just disappears. Is there a way to solve that?
Any help appreciated. Thank you.
2 commentaires
Image Analyst
le 15 Déc 2018
I don't see +, I see >. And I can see subfolders when I twist the >.
So, what operating system are you using?
Why are you not using uigetdir(), dir(), or fileDatastore() to get your files and folders?
Réponses (0)
Voir également
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!