How to include and read data from sub-folders when creating a standalone application?
조회 수: 3 (최근 30일)
이전 댓글 표시
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.
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Startup and Shutdown에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!