How to dispaly files/folder names selected from .m files in edit field appdesigner
    조회 수: 2 (최근 30일)
  
       이전 댓글 표시
    
Hi,
I have a matlab model which when run, asks for the input files/folders and calculates the remaining things as per the code.
In appdesigner, i am calling the entire model using button. So In appdesigner, I need to have a provisoin to display the selected files from .m file which we run to be displayed on the editfield box.
If i have to select multiple files/folders, how can i display those things in edit field.
How to display those two files (in this two files, other models have different number of files/folders) in the editbox
 function ButtonPushed(app, event)
               RunLwrExtModeCal; % Main model to run which loads two input files and do the calculation and plot results
%             if isequal(app.file,0)
%                 app.EditField.Value = "User Selection Cancel";
%             else
%                 app.EditField.Value = uiputfile();
%             end
%              if isequal(app.file,0)
%                 app.EditField2.Value = "User Selection Cancel";
%             else
%                 app.EditField2.Value = uiputfile();
%             end
 end
댓글 수: 0
답변 (0개)
참고 항목
카테고리
				Help Center 및 File Exchange에서 Reporting and Database Access에 대해 자세히 알아보기
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
