Browsing & Setting current directory in static text in GUI

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.

 채택된 답변

Walter Roberson
Walter Roberson 2015년 11월 16일
users_choice = uigetdir('Select a directory');
cd(users_choice);

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Adding custom doc에 대해 자세히 알아보기

질문:

2015년 11월 16일

댓글:

2015년 11월 16일

Community Treasure Hunt

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

Start Hunting!

Translated by