Compiler logfile generated for installable applications?
2 views (last 30 days)
Show older comments
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 Comments
Deependra Mishra
on 11 Feb 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
on 16 Jul 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 ...
Answers (1)
Deependra Mishra
on 11 Feb 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 Comments
See Also
Categories
Find more on Introduction to Installation and Licensing 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!