Commit 59b636f5 authored by Simone Liuzzo's avatar Simone Liuzzo

modifed startmachine, to overwrite existing APPHOME

parent 25c8e56b
function startmachine(rootpath)
global APPHOME
global APPHOME MACHFS
restoredefaultpath; % cancel previous startmachine.
......@@ -27,6 +27,8 @@ set(0,'DefaultFigurePaperType','A4',...
% current folder is APPHOME.
setenv('APPHOME',rootpath);
APPHOME=getenv('APPHOME'); % to overwrite existing APPHOME (ESRF->EBS test))
MACHFS = [APPHOME '/..']; % for test ESRF->EBS
if isempty(APPHOME), APPHOME=getenv('APPHOME'); end
function optpath(varargin)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment