How can I manually remove files in the required file list in the Matlab Compiler 2015b?

7 views (last 30 days)
Anders Friberg
Anders Friberg on 17 Nov 2015
Commented: Anders Friberg on 20 Nov 2015
The compiler app correctly determines all the file dependencies in my standalone application. However, there are some files there that I know will never be called. I can of course remove them in the code but it is a bit complicated. According to the documentation you can simply delete the files in the list: http://se.mathworks.com/help/compiler/specifying-additional-files-to-be-installed-with-the-application.html
This works but then the dependencies seem to be recalculated and the file appear again. Is there some way of manually invoking the dependency calculation?

Answers (1)

Shruti Sapre
Shruti Sapre on 19 Nov 2015
Hi Anders,
You try using "mcc" to give in the specific files you need as arguments:
Hope this helps!
-Shruti
  1 Comment
Anders Friberg
Anders Friberg on 20 Nov 2015
Thank you for your answer. Yes I realize I have to learn the more complicated (but with more control) way of deploying the software. /Anders

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!

Translated by