Why are my Matlab settings included in CTF-file?

5 visualizaciones (últimos 30 días)
Jussi Hossi
Jussi Hossi el 14 de Oct. de 2013
Respondida: Mark Mikofski el 14 de Ag. de 2014
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

Respuesta aceptada

Andreas Goser
Andreas Goser el 14 de Oct. de 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 comentario
Jussi Hossi
Jussi Hossi el 14 de Oct. de 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.

Iniciar sesión para comentar.

Más respuestas (1)

Mark Mikofski
Mark Mikofski el 14 de Ag. de 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

Categorías

Más información sobre MATLAB Compiler en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by