Prevent mcc from creating extra files

Hi all,
When you compile sth like "mcc -m tst.m", four files are created "readme.txt", "requiredMCRProducts.txt", "tst.sh" and "mccExcludedFiles.log". Is there a way to tell mcc not to produce these files EVERY single time? They get pretty annoying after a while.
Thanks

2 个评论

The mcc will always create log and txt files. You can use a flag to output those flags to particular folder which you can delete later if you don't want to see those files in you working directory.
By setting the -d flag you can place the output in a specific folder.
How does this help? Using -d will place EVERYTHING in the specified folder, including the executable. How does this solve the problem?

请先登录,再进行评论。

回答(0 个)

类别

帮助中心File Exchange 中查找有关 MATLAB Compiler 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by