import file to standalone application
이전 댓글 표시
I have developed a MATLAB application that needs to process Excel files. When testing the application inside the App Designer environment, it worked perfectly by loading and manipulating the Excel files as expected.
However, after deploying the application as a standalone executable, it no longer loads or interacts with the Excel files at all. The application runs but fails to access the Excel data it requires.
답변 (1개)
Image Analyst
2024년 1월 18일
0 개 추천
How were they loaded? Did you just find all files in the current folder and load them? Did you list them all in a listbox and the user clicks on the filename? Did you force the user to browse for it with uigetfile()?
Chances are you're expecting the file to be in the current folder but the current folder is not where your executable is located. It's a long explanation, just trust me on this.
It's possible that you didn't ship any files with your app or there are no files on the target computer.
For more info, see the FAQ:
카테고리
도움말 센터 및 File Exchange에서 Spreadsheets에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!