No log file generated for standalone app
Show older comments
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 Comments
Image Analyst
on 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
on 8 Jul 2021
Do you get any error message on the screen when you run the compiled app.
Michael
on 8 Jul 2021
Mohammad Sami
on 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
on 9 Jul 2021
Accepted Answer
More Answers (0)
Categories
Find more on Get Started with MATLAB Compiler in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!