Unable to package app on App Designer, "Packaging the app...Failed to build Matlab apps file because app is self-contained."?
5 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I am unable to change to package my app, when I try to package the app a error/ log file(Log.txt) is generated
Packaging the app...Failed to build Matlab apps file because app is self-contained.
Error in com.mathworks.jmi.NativeMatlab>SendMatlabMessage at -2
Error in com.mathworks.jmi.NativeMatlab>sendMatlabMessage at 259
Error in com.mathworks.jmi.MatlabLooper>sendMatlabMessage at 120
Error in com.mathworks.jmi.Matlab>mtFeval at 1712
Error in com.mathworks.jmi.MatlabWorker>feval at 197
Error in com.mathworks.toolbox.apps.plugin.PackageCommand$3>runOnMatlabThread at 180
Error in com.mathworks.jmi.MatlabWorker$2>run at 79
Error in com.mathworks.jmi.NativeMatlab>dispatchMTRequests at 410
This same app was working perfectly fine while when app images and associated matlab files(.m) were in same folder, but with this version I am getting this above error while packaging the app, the app runs as expected with F5.
0 commentaires
Réponses (1)
Shaun Forth
le 24 Sep 2021
Hi Vinyas,
I just had a similar error today with R2021a and over 2 years after yours!
I think the issue is that within Package App, the Output Folder is set to be the same as one of the folders that has been set to be included in the App. Certainly when I choose a new Output Folder my problem was resolved.
I hope your haven't been waiting on this answer for 2 years.
Shaun
0 commentaires
Voir également
Catégories
En savoir plus sur Develop Apps Using App Designer dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!