No log file generated for standalone app
Mostrar comentarios más antiguos
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 comentarios
Image Analyst
el 8 de Jul. de 2021
Is there a console window where you can see errors? Are you using mcc with the -m or -e option?
Mohammad Sami
el 8 de Jul. de 2021
Do you get any error message on the screen when you run the compiled app.
Michael
el 8 de Jul. de 2021
Mohammad Sami
el 9 de Jul. de 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
el 9 de Jul. de 2021
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Get Started with MATLAB Compiler en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!