Browsing & Setting current directory in static text in GUI

11 Ansichten (letzte 30 Tage)
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.

Akzeptierte Antwort

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

Weitere Antworten (0)

Kategorien

Mehr zu Adding custom doc finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by