Skip to content
Snippets Groups Projects
Commit 6d847862 authored by Antoine Merle's avatar Antoine Merle
Browse files

Optimize addpath usage.

git-svn-id: https://spcsvn.epfl.ch/repos/TCV/gdat/trunk@9418 d63d8f72-b253-0410-a779-e742ad2e26cf
parent 0316c593
No related branches found
No related tags found
No related merge requests found
......@@ -11,7 +11,9 @@ machines=[{'JET'} {'TCV'} {'AUG'} {'D3D'}];
machines=[{'JET'} {'TCV'} {'AUG'} {'KSTAR'}];
machines=[{'JET'} {'TCV'} {'AUG'} {'D3D'} {'KSTAR'}];
add_paths = cell(1,length(machines));
for i=1:length(machines)
addpath([a machines{i}])
add_paths{i}=[a machines{i}];
end
addpath(add_paths{:});
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment