Browsing & Setting current directory in static text in GUI

11 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 Adding custom doc 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