Borrar filtros
Borrar filtros

Browsing & Setting current directory in static text in GUI

2 visualizaciones (últimos 30 días)
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.

Respuesta aceptada

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

Más respuestas (0)

Categorías

Más información sobre Startup and Shutdown en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by