Error when running executable

2 次查看(过去 30 天)
Thijs Boeree
Thijs Boeree 2023-12-15
回答: Thijs Boeree 2023-12-15
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

回答(1 个)

Thijs Boeree
Thijs Boeree 2023-12-15
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!

类别

Help CenterFile Exchange 中查找有关 Deploy to C++ Applications Using mwArray API (C++03) 的更多信息

产品


版本

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by