Newer
Older

Antoine Merle
committed
function gdatpaths
%
% add paths for gdat directory
%
% assumes gdat already available
%
a=which('gdat');

Antoine Merle
committed
if isempty(a), error('gdat is not in the MATLAB path'); end
a = fileparts(a);
machines=[{'JET'} {'TCV'} {'AUG'} {'D3D'} {'KSTAR'}];
for i=1:length(machines)

Antoine Merle
committed
add_paths{i}=fullfile(a,machines{i});
end