import file to standalone application
Mostrar comentarios más antiguos
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.
Respuestas (1)
Image Analyst
el 18 de En. de 2024
0 votos
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:
Categorías
Más información sobre Spreadsheets en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!