No log file generated for standalone app
Afficher commentaires plus anciens
I am on macOS Catalina trying to deploy a standalone Matlab app using the application compliler. I am on R2020b.
I check off the 'Create log file' option in the Application Compiler and provide a filename that complies with the special character requirements. When I try running my app, I don't ever see a log file generated. I have tried running it after installing it, from the 'for_testing' folder, and from the 'for_redistribution_files_only' folders with no success. My problem is that I am getting errors in my app when deployed as an application, but not when run within appdesigner. Without the log file, I can't debug.
What am I doing wrong? Thanks.
6 commentaires
Image Analyst
le 8 Juil 2021
Is there a console window where you can see errors? Are you using mcc with the -m or -e option?
Mohammad Sami
le 8 Juil 2021
Do you get any error message on the screen when you run the compiled app.
Michael
le 8 Juil 2021
Mohammad Sami
le 9 Juil 2021
-m or -e are equivalent to mcc -W main -T link:exe according to mcc documentation.
Based on the above I would expect your application to create PulseIQ_log.txt.
Is there perhaps an issue with the write permissions ? Recent Mac version implemented some restrictions on access to folder, requiring permission to be granted for access to the folder.
Michael
le 9 Juil 2021
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Get Started with MATLAB Compiler dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!