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 Comments

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?

Sign in to comment.

Answers (0)

Categories

Find more on MATLAB Compiler in Help Center and File Exchange

Asked:

on 28 Oct 2018

Commented:

on 15 Jun 2022

Community Treasure Hunt

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

Start Hunting!