MATLAB Answers

Why are my Matlab settings included in CTF-file?

21 views (last 30 days)
CTF-file created using Matlab Compiler contain folder named ".matlab", which contains my Matlab settings and preferences.
Why are my Matlab settings included in CTF-file? Is it safe to remove them from CTF-file? Is it possible to prevent the compiler to add them into the ctf-file?
- Jussi

  0 Comments

Sign in to comment.

Accepted Answer

Andreas Goser
Andreas Goser on 14 Oct 2013
I acknowledge you ask "why" and I do not explain here. Still I like to point to the respective documentation for other users.

  1 Comment

Jussi Hossi
Jussi Hossi on 14 Oct 2013
I admit that the question should have been: Is it possible to prevent the compiler to add my Matlab settings into the ctf-file?
Answer to that was found from documentation. Thank you.

Sign in to comment.

More Answers (1)

Mark Mikofski
Mark Mikofski on 14 Aug 2014
For any others that come across this, please use ismcc to check if mcc compiler dependency check is executing your files.
% startup.m
if ~(ismcc || isdeployed)
addpath(fullfile(matlabroot,'work'));
end

  0 Comments

Sign in to comment.

Tags

Products