Compiler logfile generated for installable applications?
3 次查看(过去 30 天)
显示 更早的评论
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 个评论
Deependra Mishra
2019-2-11
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
2020-7-16
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 ...
回答(1 个)
Deependra Mishra
2019-2-11
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 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!