Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MatlabOperation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
49
Issues
49
List
Boards
Labels
Service Desk
Milestones
Jira
Jira
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
BeamDynamics
MatlabOperation
Commits
59b636f5
Commit
59b636f5
authored
Dec 11, 2018
by
Simone Liuzzo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
modifed startmachine, to overwrite existing APPHOME
parent
25c8e56b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
startmachine.m
startmachine.m
+3
-1
No files found.
startmachine.m
View file @
59b636f5
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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment