HI Team.
I have One Query , I have designed GUI which has EDIT Text & Browse Button, I Use Browse Button to Browse the Folder path later task is to load all Files which are in folder
BUT My Every time I Browse , i need to type '\' in EDIT text after Browsing the Folder Path
CAN Any one Help how could Avoid Using this '\' every time???????

 採用された回答

ES
ES 2013 年 12 月 23 日

0 投票

if you use uigetdir, like this,
sFolderName = uigetdir(pwd, 'Select Folder !');
then append your '/' and then display in the edit box..
set(handles.edit1,'string',[sFolderName,'/']);% for linux use the other slash

1 件のコメント

hussain
hussain 2013 年 12 月 23 日
Thanks alot!! Helped Me

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeFile Operations についてさらに検索

質問済み:

2013 年 12 月 23 日

コメント済み:

2013 年 12 月 23 日

Community Treasure Hunt

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

Start Hunting!

Translated by