No log file generated for standalone app
Ältere Kommentare anzeigen
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 Kommentare
Image Analyst
am 8 Jul. 2021
Is there a console window where you can see errors? Are you using mcc with the -m or -e option?
Mohammad Sami
am 8 Jul. 2021
Do you get any error message on the screen when you run the compiled app.
Michael
am 8 Jul. 2021
Mohammad Sami
am 9 Jul. 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
am 9 Jul. 2021
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Startup and Shutdown finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!