Internal error for transfering Appdesigner Project to Matlab 2022a
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
After having successfully transfered my App Designer Project (.mlapp-file) from one matlab release to another (starting in 2018b), I just tried to transfer the project to the current 2022a release.
While running the App from the Matlab GUI was fine, opening the Project in the AppDesigner itself led to an error: 'One or more components in your file have experienced an internal error. Opening this file will remove these components and cause loss of functionality or errors.'
The AppDesigner then suggested to compare a revised Project Version with the current one ('View Code Differences'). In the revised Version all Axis (~50) are deleted.
I would like to enjoy the described performance increase reported for the newest release of the App Designer. So has anyone ever experienced this problem and found a reason for or a solution to it?
0 Commenti
Risposte (1)
Yukta Maurya
il 2 Giu 2022
One of the possible reasons, this error can occur is when there is a component in the app that has a "CreateFcn" that calls "gca" or "gcf". These functions create an axes or figure, respectively, if one does not already exist, which is why there is a posibility that a blank figure can appear when running the app.
For this reason, it is recommend avoiding calls to "gca" or "gcf" in the "CreateFcn".
For axes and figures created and saved in App Designer, the "CreateFcn" is also saved, so even if the default "CreateFcn" is changed, the error will still persist.
2 Commenti
Vedere anche
Categorie
Scopri di più su Develop Apps Using App Designer in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!