Compiler logfile generated for installable applications?
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
I am using deploytool in 2013b to compile my application for installation on Windows and Mac and have selected the option to "Create log file". When running the executable in for_redistribution_files_only in Windows I find it very useful to have the errorLog being generated in the same folder. On Mac I have never seen the log, so I don't think it's being generated.
Further to this, I would eventually like to distribute my application with the web installer option so that it is installed on the target machines and not just run from the downloaded location. When testing this I realised that I cannot find the errorLog on either Windows or Mac.
Can anyone shed light on this situation? Are the error logs being generated? If so, where?
Thanks!
Michael.
3 comentarios
Deependra Mishra
el 11 de Feb. de 2019
Did you find answer to this question? When I run the app from the folder for_redistribution_files_only log files are generated and error are being logged, however, when I installed the app from the folder for_redistribution using web installer I didn't find log file anywhere.
I am also looking for answer.
Vlad Atanasiu
el 16 de Jul. de 2020
Here is an ugly but effective workaround when no log file is generated by the standalone application. Peper you code with figures to pop up and let you known where the program arrived and what its parameters are. Something like:
% ... code ...
stage_point = 1
figure('Name',stage_point)
% ... more code ...
stage_point = stage_point + 1;
figure('Name',stage_point)
% ... yet more code ...
Respuestas (1)
Deependra Mishra
el 11 de Feb. de 2019
If the user does not have the write priviliges to the installation directory of the application, log files will not be generated. I tried running the app as an adminisrator, log file was not generated, however, when I installed the app in the user directory (i.e. C:\Users\Username\), the log file was generated.
0 comentarios
Ver también
Categorías
Más información sobre Introduction to Installation and Licensing en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!