Why are my Matlab settings included in CTF-file?

조회 수: 5 (최근 30일)
Jussi Hossi
Jussi Hossi 2013년 10월 14일
답변: Mark Mikofski 2014년 8월 14일
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