フィルターのクリア

Browsing multiple files & displaying names in static text box

2 ビュー (過去 30 日間)
JB
JB 2015 年 11 月 11 日
コメント済み: JB 2015 年 11 月 11 日
Hi, I am browsing multiples files using uiget,but i am getting a numerical value in the static text box rather then getting the file name.
[filename pathname]=uigetfile({'*.txt'},'File Selector');
set(handles.text9, 'String', text)
set(handles.text10, 'String', text)
thanks in advance for the help..

採用された回答

Image Analyst
Image Analyst 2015 年 11 月 11 日
text() is a built-in function, so of course what won't work. You need to pass in the actual cell array of all the filenames that the user selected. Is that "filename"? Have you looked at what values filenames has?
  1 件のコメント
JB
JB 2015 年 11 月 11 日
Thanks alot. I got it, what i was looking for..

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMigrate GUIDE Apps についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by