Why are my Matlab settings included in CTF-file?

4 次查看(过去 30 天)
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

采纳的回答

Andreas Goser
Andreas Goser 2013-10-14
I acknowledge you ask "why" and I do not explain here. Still I like to point to the respective documentation for other users.
  1 个评论
Jussi Hossi
Jussi Hossi 2013-10-14
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.

请先登录,再进行评论。

更多回答(1 个)

Mark Mikofski
Mark Mikofski 2014-8-14
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

类别

Help CenterFile Exchange 中查找有关 MATLAB Compiler 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by