Commit 6d10a11e authored by Simone Liuzzo's avatar Simone Liuzzo

added default startup and modified README accordingly

parent 67bc99ff
......@@ -13,6 +13,12 @@ Please check that the software works correctly as operator (CTRM) and files are
this respository should be pulled (git pull) in /operation/machine/BeamDynamics/matlab
to set the matlab path as default:
copy startup.m in ~/matlab/startup.m
edit startup.m variable rootpath to match the location where you downloaded this repository.
Please see the wiki for the expected folders (AT, tango-maltab) to be installed separately
All executables that are supposed to be used by operation are to be kept where they are.
in the /operation/bin/ folder a link shuold be created to point to the wished executable.
This is a RULE (at least for BeamDynamics Code)
\ No newline at end of file
curdir = pwd;
rootpath = '/machfs/liuzzo/EBS/Simulator/BeamDynamics/matlab';
if (~isdeployed) % will be executed only from matlab, not from C
msg = [' Loading path from ' fullfile(rootpath,'startmachine.m') ' '];
disp(['*** ' repmat(' ',1,length(msg)) ' ***']);
disp(['*** ' msg ' ***'])
disp(['*** ' repmat(' ',1,length(msg)) ' ***']);
startmachine; % build standard path for operation
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