Effacer les filtres
Effacer les filtres

Browsing & Setting current directory in static text in GUI

2 vues (au cours des 30 derniers jours)
Student new
Student new le 16 Nov 2015
Commenté : Student new le 16 Nov 2015
Hi. I am new to GUI. Please help me.
I have a GUI, i want upon pressing browse button,it should ask for a path and set that path as current working directory path.

Réponse acceptée

Walter Roberson
Walter Roberson le 16 Nov 2015
users_choice = uigetdir('Select a directory');
cd(users_choice);

Plus de réponses (0)

Catégories

En savoir plus sur Startup and Shutdown 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