필터 지우기
필터 지우기

can we have browse option as in windows? how to find a path is valid or not?

조회 수: 1 (최근 30일)
There are two questions.. 1) can we have browse option as in windows??..like if we want to select a file(in windows) we either enter the path or go for browse option....can we have the same in matlab?
2) how to find whether a path is valid or not(using matlab)?

채택된 답변

Titus Edelhofer
Titus Edelhofer 2012년 4월 2일
Hi,
1) I guess you are looking for the uigetfile function, that opens a browse dialog. You could e.g. have in your GUI a pushbutton named "..." that calls uigetfile.
2) for a path:
exist(thePath, 'dir')
Titus

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Whos에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by