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!