How to upload files(any format) from any folder other than current folder in app designed by matlab app designer
    9 ビュー (過去 30 日間)
  
       古いコメントを表示
    
    Vinayak Untwale
 2021 年 4 月 23 日
  
    
    
    
    
    コメント済み: Vinayak Untwale
 2021 年 4 月 27 日
            In matlab app, when I upload files using 'uigetfile' it only allows to upload files from current folder i.e. folder where app.mlap file is saved. How can I upload multiple files from other folder too?
1 件のコメント
  Stephen23
      
      
 2021 年 4 月 23 日
				"How can I upload multiple files from other folder too?"
Use absolute/relative filenames:
You will need to use fullfile:
採用された回答
  Shadaab Siddiqie
    
 2021 年 4 月 27 日
        From my understanding you want to uplode files from other than the current folder.  Here is a code which might help you.
[stmfile, stmpath] = uigetfile('*.txt', 'pick text file');
% example : [FileName,PathName] = uigetfile('C:\*.wav','All Wave Files (*.wav)');
A = importdata(fullfile(stmpath, stmfile), '\t', 15);
その他の回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


