Info
この質問は閉じられています。 編集または回答するには再度開いてください。
How to programm a app which selects files from a file folder
    1 回表示 (過去 30 日間)
  
       古いコメントを表示
    
I'm new using the GUIDE, and I'm building a programm I want to read files from a file folder. To the app read those files, I want to put the file folder adress. Could you help me?
0 件のコメント
回答 (1 件)
  Fangjun Jiang
      
      
 2018 年 8 月 14 日
        uigetfile()
4 件のコメント
  Stephen23
      
      
 2018 年 8 月 16 日
				
      編集済み: Stephen23
      
      
 2018 年 8 月 16 日
  
			@Daniel Fonsêca: don't use cd: it slows down your code and makes debugging harder. Just use absolute/relative filenames, which are much more efficient. Just use fullfile like this:
D = 'directory where the files are';
F = fullfile(D,'name of the file.txt')
この質問は閉じられています。
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!



