フィルターのクリア

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

1 回表示 (過去 30 日間)
punith
punith 2012 年 4 月 2 日
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 Center および File ExchangeWhos についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by