Prevent mcc from creating extra files

5 views (last 30 days)
Ali Morshedifard
Ali Morshedifard on 28 Oct 2018
Commented: Valery Polyakov on 15 Jun 2022
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
Rishi Binda
Rishi Binda on 31 Oct 2018
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.
Valery Polyakov
Valery Polyakov on 15 Jun 2022
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

Community Treasure Hunt

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

Start Hunting!