import file to standalone application
Afficher commentaires plus anciens
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.
Réponses (1)
Image Analyst
le 18 Jan 2024
0 votes
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:
Catégories
En savoir plus sur Spreadsheets dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!