No log file generated for standalone app
이전 댓글 표시
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
Image Analyst
2021년 7월 8일
Is there a console window where you can see errors? Are you using mcc with the -m or -e option?
Mohammad Sami
2021년 7월 8일
Do you get any error message on the screen when you run the compiled app.
Michael
2021년 7월 8일
Mohammad Sami
2021년 7월 9일
-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
2021년 7월 9일
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Startup and Shutdown에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!