Is it possible to request an input file in a deployed application?
조회 수: 1 (최근 30일)
이전 댓글 표시
I have a program which asks the user for an input file and other parameters in order to work, such as: file_name=input('Enter the text file with the input and the output:','s')
When I deploy the program and try to run it, it fails and says that the file is missing and won't ask for it.
Is there a solution?
Thanks in advance,
Itai
댓글 수: 0
채택된 답변
Image Analyst
2013년 8월 27일
Use uigetfile() instead to guarantee that the user picks a file that actually does exist.
댓글 수: 0
추가 답변 (2개)
Chetan Rawal
2013년 9월 3일
The neater way to do this will be through a UI since what you really want is user interaction. See http://www.mathworks.com/help/matlab/gui-building-basics.html
참고 항목
카테고리
Help Center 및 File Exchange에서 MATLAB Compiler에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!