Is there a way to disable plotting in Compiled Matlab code (using MCR)
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
I have some compiled matlab code I'd like to run in a batch mode. Is there any way to disable all plotting functionality when running the code, or do I have to recompile everything?
0 comentarios
Respuestas (1)
Jeff E
el 2 de Abr. de 2015
The function ISDEPLOYED returns true when run in the MCR, false when run in Matlab
So,
if ~isdeployed
plot([1 2] , [2 3])
end
0 comentarios
Ver también
Categorías
Más información sobre MATLAB Compiler en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!