Compiler logfile generated for installable applications?

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

Matt
Matt el 22 de Dic. de 2016
I am also looking for an answer to this question, if anyone can help.
Did you solve this Michael?
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.
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 ...

Iniciar sesión para comentar.

Respuestas (1)

Deependra Mishra
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.

Categorías

Más información sobre Introduction to Installation and Licensing en Centro de ayuda y File Exchange.

Preguntada:

el 13 de Mzo. de 2014

Comentada:

el 16 de Jul. de 2020

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by