How do I use the "-e" switch to suppress the MS-DOS window and "-R -logfile" to generate a log file?
2 ビュー (過去 30 日間)
古いコメントを表示
I would like to know how to use the options "-e" and "-R -logfile" correctly.
採用された回答
MathWorks Support Team
2009 年 11 月 30 日
This enhancement has been incorporated to the documentation of Release 2008a (R2008a):
web([docroot '/toolbox/compiler/mcc.html'])
To suppress the MS-DOS window and to generate a log file, use any of the two commands, which are equivalent:
mcc -e -R '-logfile,filename.txt' function_name
% -OR-
mcc -e -R -logfile -R 'filename.txt' -v function_name
This will suppress the MS-DOS window and generate a log file called filename.txt in the folder containing the compiled application. You can also specify an absolute path such as 'C:\Temp\filename.txt'.
0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Standalone Applications についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!