How to include and read data from sub-folders when creating a standalone application?
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Hello everyone,
I am creating an .exe program using the App Designer.
In the startup function, I write
I = imread('./Resources/icons/Eye.png');
figure;
imagesc(I);
In addition, I have included the 'Resource' folder and 'Eye.png' in the Application Compiler. However, when I run the .exe programm, it fails to read this file and cause error.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1181958/image.png)
5 comentarios
Respuestas (0)
Ver también
Categorías
Más información sobre Startup and Shutdown en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!