folder browser integrate in a gui

Hallo, How i can integrate a explorer (folder browser) in a gui by listbox or axes?

 採用された回答

Jan
Jan 2017 年 6 月 28 日

1 投票

2 件のコメント

Badr Sahib
Badr Sahib 2017 年 6 月 28 日
Thanks
Badr Sahib
Badr Sahib 2017 年 7 月 5 日
Hi Simon,
Thank you for your reply but I can not go further. I have an example for you here. How I can now insert a calback function for the pushbutton (open). Without closing the figure. I want to open excel files or general excel photos and pdf files. I mean, I would like to open a window and every time open a file and the figure should be kept open.
%%%%%%
hFig = dialog('Name','Select file', 'units','pixel', 'pos',[200,200,500,600]);
javaComponentName = 'javax.swing.JFileChooser';
[hjFileChooser, hContainer] = javacomponent(javaComponentName, [0,200,500,400], hFig);
hjFileChooser.setCurrentDirectory(java.io.File(pwd));
hjFileChooser.setMultiSelectionEnabled(false);
drawnow;
%%%%%
thank you in advance

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

その他の回答 (0 件)

カテゴリ

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

製品

質問済み:

2017 年 6 月 28 日

コメント済み:

2017 年 7 月 5 日

Community Treasure Hunt

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

Start Hunting!

Translated by