Error when running executable

1 view (last 30 days)
Thijs Boeree
Thijs Boeree on 15 Dec 2023
Answered: Thijs Boeree on 15 Dec 2023
Hello,
I've finished my project (an escape room puzzle) but when i compiled it and want to run the executable, it pops up with an error where it says:
The filename specified was not found in the matlab path. Error in => app.mlapp at line 3322
Only my mlapp goes until line 3294...?
I have filled directory with scripts and pictures (png files), and i all included it when building the app.
In my program i need to write to a struct array called EdwinTabel.mat in my script i specified it without a full path. All my files are in a folder called "Edwin\files\" could this be the error?
Best regards,
Thijs Boeree

Answers (1)

Thijs Boeree
Thijs Boeree on 15 Dec 2023
Solved it!!
I had to include a whole 'files' folder into the compiler. It added all the png files by default but the have to be in a folder... Problem solved!

Categories

Find more on File Operations in Help Center and File Exchange

Products


Release

R2022b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!