Browsing & Setting current directory in static text in GUI

조회 수: 6 (최근 30일)
Student new
Student new 2015년 11월 16일
댓글: Student new 2015년 11월 16일
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개)

카테고리

Help CenterFile Exchange에서 Adding custom doc에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by